ObservationReferenceRange constructor
ObservationReferenceRange({
- Quantity? low,
- Quantity? high,
- CodeableConcept? type,
- FixedList<
CodeableConcept> ? appliesTo, - Range? age,
- String? text,
Constructs a new ObservationReferenceRange with optional low, high, type, appliesTo, age, and text.
Implementation
ObservationReferenceRange({
Quantity? low,
Quantity? high,
CodeableConcept? type,
FixedList<CodeableConcept>? appliesTo,
Range? age,
String? text,
}) : this.fromJson(
JsonObject({
if (low != null) lowField.name: low.json,
if (high != null) highField.name: high.json,
if (type != null) typeField.name: type.json,
if (appliesTo != null)
appliesToField.name:
JsonArray.unmodifiable(appliesTo.map((e) => e.json)),
if (age != null) ageField.name: age.json,
if (text != null) textField.name: JsonString(text),
}),
);