ObservationUsCore.pediatricWeightForHeight constructor

ObservationUsCore.pediatricWeightForHeight({
  1. required Reference subject,
  2. required double weightForHeightPercentile,
})

Implementation

factory ObservationUsCore.pediatricWeightForHeight({
  required Reference subject,
  required double weightForHeightPercentile,
}) =>
    ObservationUsCore(
      category: _vitalSignsCategory,
      subject: subject,
      code: CodeableConcept(
        coding: [
          Coding(
            system: FhirUri('http://loinc.org'),
            code: Code('77606-2'),
            display: 'Weight-for-length Per age and sex',
          ),
        ],
        text: 'Weight-for-length',
      ),
      valueQuantity: Quantity(
        value: Decimal(weightForHeightPercentile),
        unit: '%',
        system: FhirUri('http://unitsofmeasure.org'),
        code: Code('%'),
      ),
    );