<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Childgrowthindicator-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-childgrowthindicator-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-OBSERVATION.child_growth_indicator.v0" />
  </identifier>
  <version value="0" />
  <name value="Childgrowthindicator" />
  <title value="Child growth indicator" />
  <status value="draft" />
  <date value="2024-06-18" />
  <publisher value="openEHR" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.veratech.es" />
    </telecom>
  </contact>
  <description value="Details about parameters plotted on a growth chart to allow monitoring of a child's growth over time, relative to a reference population." />
  <purpose value="To record details about parameters plotted as percentiles on a growth chart." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="openEHR" />
    <uri value="http://openehr.org" />
    <name value="openEHR Mapping" />
  </mapping>
  <mapping>
    <identity value="openEHR-natural" />
    <uri value="http://openehr.org" />
    <name value="openEHR natural path" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="StructureDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <snapshot>
    <element id="Child_growth_indicator">
      <path value="Child_growth_indicator" />
      <short value="Child growth indicator" />
      <definition value="Details about parameters plotted on a growth chart to allow monitoring of a child's growth over time, relative to a reference population." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.protocol">
      <path value="Child_growth_indicator.protocol" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.protocol" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.protocol.Growth_reference_chart">
      <path value="Child_growth_indicator.protocol.Growth_reference_chart" />
      <short value="Growth reference chart" />
      <definition value="Specifies the standard or syndrome-specific reference charts used to calculate the growth indicator data." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.protocol.Growth_reference_chart" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.protocol.Growth_reference_chart.value">
      <path value="Child_growth_indicator.protocol.Growth_reference_chart.value" />
      <short value="Growth reference chart" />
      <definition value="Specifies the standard or syndrome-specific reference charts used to calculate the growth indicator data." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.protocol.Growth_reference_chart.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.protocol.Extension">
      <path value="Child_growth_indicator.protocol.Extension" />
      <short value="Extension" />
      <definition value="Additional information required to capture local content or to align with other reference models/formalisms." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Child_growth_indicator.protocol.Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series">
      <path value="Child_growth_indicator.Event_Series" />
      <short value="Event Series" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event">
      <path value="Child_growth_indicator.Event_Series.Any_event" />
      <short value="Any event" />
      <definition value="Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data">
      <path value="Child_growth_indicator.Event_Series.Any_event.data" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator" />
      <short value="Growth indicator" />
      <definition value="The name of the growth parameter." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator.value" />
      <short value="Growth indicator" />
      <definition value="The name of the growth parameter." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Growth_indicator.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement" />
      <short value="URI to original measurement" />
      <definition value="Link to the original measurement." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement.value" />
      <short value="URI to original measurement" />
      <definition value="Link to the original measurement." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.URI_to_original_measurement.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Percentile">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Percentile" />
      <short value="Percentile" />
      <definition value="Percentile calculated using standard normal distribution for the age (or adjusted age)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Percentile" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Percentile.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Percentile.value" />
      <short value="Percentile" />
      <definition value="Percentile calculated using standard normal distribution for the age (or adjusted age)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Percentile.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Z_score">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Z_score" />
      <short value="Z-score" />
      <definition value="The deviation of an individual's value from the median value for a reference population, divided by the standard deviation of the reference population." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Z_score" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Z_score.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Z_score.value" />
      <short value="Z-score" />
      <definition value="The deviation of an individual's value from the median value for a reference population, divided by the standard deviation of the reference population." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Z_score.value" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation" />
      <short value="Clinical interpretation" />
      <definition value="Clinical interpretation of the growth indicator chart." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation.value" />
      <short value="Clinical interpretation" />
      <definition value="Clinical interpretation of the growth indicator chart." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Clinical_interpretation.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Comment">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Comment" />
      <short value="Comment" />
      <definition value="A comment about the growth indicator, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Child_growth_indicator.Event_Series.Any_event.data.Comment.value">
      <path value="Child_growth_indicator.Event_Series.Any_event.data.Comment.value" />
      <short value="Comment" />
      <definition value="A comment about the growth indicator, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Child_growth_indicator.Event_Series.Any_event.data.Comment.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
  </snapshot>
</StructureDefinition>