<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="AMA-IHMI-observation-body-weight-1" />
  <meta>
    <versionId value="7" />
    <lastUpdated value="2019-02-07T20:57:47.445+00:00" />
  </meta>
  <url value="http://www.ama-ihmi.org/fhir/StructureDefinition/AMA-IHMI-observation-body-weight-1" />
  <name value="AMA-IHMI-observation-body-weight-1" />
  <status value="draft" />
  <publisher value="American Medical Association" />
  <description value="This profile supports constraining body weight measurement observations in the context of individuals who are self-measuring blood pressure at home. This profile, in combination with the AMA-IHMI-goal-body-weight-1 profile, addresses the use case of an individual who may be given a weight loss goal as part of a blood pressure treatment plan. The AMA-IHMI-observation-body-weight-1 profile requires the element clothingStatus with the allowed value constrained to undressed. This constraint is to ensure that an individual’s weight is compared to a weight with the same clothing status when outcome of the weight goal is assessed.&#xD;&#xA;This profile allows the Observation Resource to be extended to include clothing status as an Observation component (i.e., Observation.component clothingStatus)." />
  <copyright value="Copyright 2016-2019 American Medical Association. All rights reserved." />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <max value="0" />
    </element>
    <element id="Observation.status">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="default: final" />
      </extension>
      <path value="Observation.status" />
      <fixedCode value="final" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.system" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="coding.code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.category:vitalSigns">
      <path value="Observation.category" />
      <sliceName value="vitalSigns" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.category:vitalSigns.coding">
      <path value="Observation.category.coding" />
      <min value="1" />
    </element>
    <element id="Observation.category:vitalSigns.coding.system">
      <path value="Observation.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/observation-category" />
    </element>
    <element id="Observation.category:vitalSigns.coding.code">
      <path value="Observation.category.coding.code" />
      <min value="1" />
      <fixedCode value="vital-signs" />
    </element>
    <element id="Observation.category:vitalSigns.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.category.coding.display" />
      <min value="1" />
      <fixedString value="Vital Signs" />
    </element>
    <element id="Observation.category:vitalSigns.coding.userSelected">
      <path value="Observation.category.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.category:vitalSigns.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.category.text" />
      <max value="0" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="2" />
    </element>
    <element id="Observation.code.coding:LN_Wt">
      <path value="Observation.code.coding" />
      <sliceName value="LN_Wt" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:LN_Wt.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="Observation.code.coding:LN_Wt.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="29463-7" />
    </element>
    <element id="Observation.code.coding:LN_Wt.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.coding.display" />
      <min value="1" />
      <fixedString value="Body weight" />
    </element>
    <element id="Observation.code.coding:LN_Wt.userSelected">
      <path value="Observation.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.code.coding:IHMI_Wt">
      <path value="Observation.code.coding" />
      <sliceName value="IHMI_Wt" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:IHMI_Wt.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102" />
    </element>
    <element id="Observation.code.coding:IHMI_Wt.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="4091000207108" />
    </element>
    <element id="Observation.code.coding:IHMI_Wt.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.coding.display" />
      <min value="1" />
      <fixedString value="Measurement of body weight (procedure)" />
    </element>
    <element id="Observation.code.coding:IHMI_Wt.userSelected">
      <path value="Observation.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.text" />
      <max value="0" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Who this is about" />
      <definition value="The patient whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed.  Comments: Indirect characteristics may be those of a specimen, fetus, donor,  other observer (for example a relative or EMT), or any observation made about the subject." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.context">
      <path value="Observation.context" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter" />
      </type>
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <max value="0" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <short value="Who/what is responsible for the observation" />
      <definition value="Who or what was responsible for asserting the observed value as &quot;true&quot;." />
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.value[x]:valueQuantity.value">
      <path value="Observation.valueQuantity.value" />
      <min value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity.comparator">
      <path value="Observation.valueQuantity.comparator" />
      <max value="0" />
    </element>
    <element id="Observation.value[x]:valueQuantity.unit">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.valueQuantity.unit" />
      <min value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity.system">
      <path value="Observation.valueQuantity.system" />
      <min value="1" />
      <fixedUri value="http://unitsofmeasure.org" />
    </element>
    <element id="Observation.value[x]:valueQuantity.code">
      <path value="Observation.valueQuantity.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/ValueSet/ucum-bodyweight" />
      </binding>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.comment">
      <path value="Observation.comment" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
      <binding>
        <strength value="example" />
        <valueSetUri value="http://hl7.org/fhir/ValueSet/body-site" />
      </binding>
    </element>
    <element id="Observation.bodySite.coding">
      <path value="Observation.bodySite.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.bodySite.coding.system">
      <path value="Observation.bodySite.coding.system" />
      <min value="1" />
      <fixedUri value="http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102" />
    </element>
    <element id="Observation.bodySite.coding.code">
      <path value="Observation.bodySite.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <valueSetUri value="http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102\5241000207108" />
      </binding>
    </element>
    <element id="Observation.bodySite.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.bodySite.coding.display" />
      <min value="1" />
      <fixedString value="Integrated Health Model, body structure, refset 2, simple type reference set (foundation metadata concept)" />
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <max value="0" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <max value="0" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <max value="0" />
    </element>
    <element id="Observation.related">
      <path value="Observation.related" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:clothingStatus">
      <path value="Observation.component" />
      <sliceName value="clothingStatus" />
      <short value="The state of clothing worn (i.e., state of dress) during the observation." />
      <definition value="The state of clothing worn (e.g., undressed, dressed with shoes, dressed without shoes, etc.) during the observation. To be used only when clothing status is not precoordinated in the observation code." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:clothingStatus.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:clothingStatus.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102" />
    </element>
    <element id="Observation.component:clothingStatus.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="248159006" />
    </element>
    <element id="Observation.component:clothingStatus.code.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="State of dress (observable entity)" />
    </element>
    <element id="Observation.component:clothingStatus.code.coding.userSelected">
      <path value="Observation.component.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.text" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept">
      <path value="Observation.component.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.coding">
      <path value="Observation.component.valueCodeableConcept.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.coding.system">
      <path value="Observation.component.valueCodeableConcept.coding.system" />
      <min value="1" />
      <fixedUri value="http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.coding.code">
      <path value="Observation.component.valueCodeableConcept.coding.code" />
      <min value="1" />
      <fixedCode value="248160001" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.valueCodeableConcept.coding.display" />
      <min value="1" />
      <fixedString value="Undressed (finding)" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.coding.userSelected">
      <path value="Observation.component.valueCodeableConcept.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.value[x]:valueCodeableConcept.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.valueCodeableConcept.text" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.interpretation">
      <path value="Observation.component.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.component:clothingStatus.referenceRange">
      <path value="Observation.component.referenceRange" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>