Observation

Observations

The Observation and ObservationComponent objects

class fhir_parser.observation.Observation(uuid: str, type: str, status: str, patient_uuid: str, encounter_uuid: str, effective_datetime: datetime.datetime, issued_datetime: datetime.datetime, components: List[fhir_parser.observation.ObservationComponent])

An observation object holding either one or more observation components

class fhir_parser.observation.ObservationComponent(system: str, code: str, display: str, value: Union[str, float, None], unit: Optional[str])

An observation component object containing the details of a part of the observation

quantity() → str

Pretty print of the value and unit for an observation Returns: Value and unit, ‘76.0 mm[Hg]’