map

abstract fun <T : Record> map(record: T): List<Observation>

Maps a given Health Connect record to a list of HL7 FHIR Observations

Return

a list of Observation objects derived from the provided health record

Parameters

T

the type of the Health Connect record, extending from Record

record

the record to be mapped