FHIR R5 Quantity data type.
A measured or measurable amount. Used for lab result values, dosages, etc.
https://www.hl7.org/fhir/R5/datatypes.html#Quantity
Comparator codes: < | <= | >= | > | ad
Example
# Hemoglobin level
%Quantity{
value: 14.5,
unit: "g/dL",
system: "http://unitsofmeasure.org",
code: "g/dL"
}
# White blood cell count
%Quantity{
value: 6.8,
unit: "10*3/uL",
system: "http://unitsofmeasure.org",
code: "10*3/uL"
}
Summary
Functions
Builds the struct from a string-keyed map (e.g., from decoded FHIR JSON).
Builds a new struct from a map or keyword list of field values.
Converts the struct to a string-keyed map for use with FhirEx.JSON.
Types
Functions
Builds the struct from a string-keyed map (e.g., from decoded FHIR JSON).
Builds a new struct from a map or keyword list of field values.
Converts the struct to a string-keyed map for use with FhirEx.JSON.