<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="e3fc1c37-ffd5-4e63-a00f-1c7c555f0d91" />
  <meta>
    <lastUpdated value="2022-07-12T10:33:17.1328378+00:00" />
    <profile value="https://fhir.cambio.se/StructureDefinition/ObservationGCBodyWeightRelative/v1" />
  </meta>
  <url value="https://fhir.cambio.se/StructureDefinition/ObservationGCBodyWeightRelative/v1" />
  <version value="1.0.0" />
  <name value="ObservationGCBodyWeightRelative" />
  <title value="ObservationGCBodyWeightRelative" />
  <status value="active" />
  <date value="2022-01-31T07:06:28.0199105+00:00" />
  <description value="Cambio Growth chart specific use case profile for communicating the vital parameters, weight of the biological father or weight of the biological mother, between an external system and COSMIC. The profile includes fields for the value of the weight measurement, contextuel data and meta data.  GET operation is supported. This profile should be used only for Growh chart related data communication." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.org/attributebinding" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="https://fhir.cambio.se/StructureDefinition/ObservationBodyWeightCore/v1" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <max value="0" />
    </element>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <max value="0" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="Preliminary | final | amended | entered in error | cancelled" />
      <definition value="The status of th result value. &#xD;&#xA;FHIR - Cambio&#xD;&#xA;preliminary -&gt; unsigned&#xA;final -&gt; signed and completednonSignable&#xA;entered in error -&gt; invalidated&#xA;cancelled -&gt; removed&#xD;&#xA;amended -&gt; resigned (journal note)" />
      <comment value="COSMIC support the statuses mapped to the archetype for the vital sign through CCM REST-API. The Status Amended is supported in Get scenarios when it is mapped from a archetyped attached to a journal note which can be resigned." />
      <binding>
        <strength value="required" />
        <valueSet value="https://cambio.codes/fhir/vs/vital-sign-status/v1" />
      </binding>
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <rules value="closed" />
      </slicing>
      <min value="2" />
      <max value="2" />
    </element>
    <element id="Observation.code.coding:bodyWeightCodeSct">
      <path value="Observation.code.coding" />
      <sliceName value="bodyWeightCodeSct" />
      <mustSupport value="false" />
      <binding>
        <strength value="required" />
        <description value="Value set of codes which are supported in Body weight relative profile" />
        <valueSet value="https://fhir.cambio.se/ValueSet/BodyWeightRelative/v1" />
      </binding>
    </element>
    <element id="Observation.code.coding:bodyWeightCodeSct.code">
      <path value="Observation.code.coding.code" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.cambio.se/ValueSet/BodyWeightRelative/v1" />
      </binding>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <max value="0" />
    </element>
    <element id="Observation.focus.display">
      <path value="Observation.focus.display" />
      <fixedString value="Relative" />
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <max value="0" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.value[x]" />
      <sliceName value="valueQuantity" />
      <min value="1" />
    </element>
    <element id="Observation.dataAbsentReason.coding">
      <path value="Observation.dataAbsentReason.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.dataAbsentReason.coding.system">
      <path value="Observation.dataAbsentReason.coding.system" />
      <min value="1" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/data-absent-reason" />
    </element>
    <element id="Observation.dataAbsentReason.coding.code">
      <path value="Observation.dataAbsentReason.coding.code" />
      <short value="COSMIC doesn't support data absent reason" />
      <min value="1" />
      <fixedCode value="unsupported" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
    </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" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <max value="0" />
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <max value="0" />
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>