ObservationUsCore.bodyWeight constructor
ObservationUsCore.bodyWeight(
- Reference subject,
- FhirDateTime dateTime, {
- required double weightInKilograms,
Implementation
factory ObservationUsCore.bodyWeight(
Reference subject,
FhirDateTime dateTime, {
required double weightInKilograms,
}) =>
ObservationUsCore(
category: _vitalSignsCategory,
code: CodeableConcept(
coding: [
Coding(
system: FhirUri('http://loinc.org'),
code: Code('29463-7'),
display: 'Body Weight',
),
Coding(
system: FhirUri('http://loinc.org'),
code: Code('3141-9'),
display: 'Body weight Measured',
),
Coding(
system: FhirUri('http://snomed.info/sct'),
code: Code('27113001'),
display: 'Body Weight',
),
],
text: 'Body Weight',
),
subject: subject,
effectiveDateTime: dateTime,
valueQuantity: Quantity(
value: Decimal(weightInKilograms),
unit: 'kg',
system: FhirUri('http://unitsofmeasure.org'),
code: Code('kg'),
),
);