<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="BodyMassIndexObservation" />
  <url value="http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation" />
  <name value="BSeR Body Mass Index Observation" />
  <status value="draft" />
  <publisher value="Hi3 Solutions" />
  <contact>
    <name value="AbdulMalik Shakir" />
    <telecom>
      <system value="phone" />
      <value value="6266444491" />
      <use value="work" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="abdulmalik.shakir@hi3solutions.com" />
      <use value="work" />
    </telecom>
  </contact>
  <kind value="resource" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Observation" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
    </element>
    <element id="Observation.id">
      <path value="Observation.id" />
      <short value="id" />
      <definition value="MAY contain zero or one [0..1] id (CONF:4383-766)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.meta">
      <path value="Observation.meta" />
      <short value="meta" />
      <definition value="MAY contain zero or one [0..1] meta (CONF:4383-765)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.meta.profile">
      <path value="Observation.meta.profile" />
      <short value="profile" />
      <definition value="The meta, if present, SHALL contain exactly one [1..1] profile=&quot;http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation&quot; (CONF:4383-767)." />
      <min value="1" />
      <max value="1" />
      <patternString value="http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="status" />
      <definition value="SHALL contain exactly one [1..1] status=&quot;&quot;Final&quot;&quot; (CONF:4383-262)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedString value="&quot;Final&quot;" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <short value="category" />
      <definition value="SHALL contain exactly one [1..1] category=&quot;&quot;vital-signs&quot;&quot; (CONF:4383-263)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;vital-signs&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="code" />
      <definition value="SHALL contain exactly one [1..1] code=&quot;&quot;39156-5&quot;&quot; (CONF:4383-264)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;39156-5&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="subject" />
      <definition value="SHALL contain exactly one [1..1] subject=&quot;BSeR Patient&quot; (CONF:4383-768)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
      </type>
      <patternString value="BSeR Patient" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="effective[x]" />
      <definition value="MAY contain zero or one [0..1] effective[x], where effective[x] is (CONF:4383-259)" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <short value="effectiveDateTime" />
      <definition value="effectiveDateTime (CONF:4383-265)" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="value[x]" />
      <definition value="MAY contain zero or one [0..1] value[x], where value[x] is (CONF:4383-260)" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <short value="valueQuantity" />
      <definition value="valueQuantity (CONF:4383-261)" />
    </element>
    <element id="Observation.value[x]:valueQuantity.value">
      <path value="Observation.valueQuantity.value" />
      <sliceName value="valueQuantity" />
      <short value="value" />
      <definition value="SHALL contain exactly one [1..1] value (CONF:4383-266)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity.unit">
      <path value="Observation.valueQuantity.unit" />
      <sliceName value="valueQuantity" />
      <short value="unit" />
      <definition value="SHALL contain exactly one [1..1] unit=&quot;&quot;kg/m2&quot;&quot; (CONF:4383-267)." />
      <min value="1" />
      <max value="1" />
      <fixedString value="&quot;kg/m2&quot;" />
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <short value="dataAbsentReason" />
      <definition value="SHALL contain exactly one [1..1] dataAbsentReason, which SHALL be selected from ValueSet Observation-valueabsentreason http://hl7.org/fhir/ValueSet/observation-valueabsentreason DYNAMIC (CONF:4383-268)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/observation-valueabsentreason" />
          <display value="Observation-valueabsentreason" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>