map

open override 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 record, extending from Record

record

the health record to be mapped

Throws

if the record type is unsupported