<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="e6007f7c-1659-4727-82f3-ea39f0119fb61" />
  <meta>
    <lastUpdated value="2022-07-12T11:37:19.9789813+00:00" />
  </meta>
  <url value="https://fhir.cambio.se/StructureDefinition/ObservationBodyHeightCore/v1" />
  <version value="1.0.0" />
  <name value="ObservationBodyHeightCore" />
  <title value="ObservationBodyHeightCore" />
  <status value="active" />
  <date value="2021-11-19T12:31:18.9898724Z" />
  <description value="Cambio Core profile for communicating the Body Height. Also support the different types of body heights like, Target height, Mother height, father height, Sitting height, Birth length. For Use case specific profiles, this profile can be derived for the use case profile to be complient with the Cambio core profile." />
  <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="http://hl7.org/fhir/StructureDefinition/bodyheight" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.code.coding:BodyHeightCodeSct">
      <path value="Observation.code.coding" />
      <sliceName value="BodyHeightCodeSct" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:BodyHeightCodeSct.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.code.coding:BodyHeightCodeSct.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.subject.identifier">
      <path value="Observation.subject.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="If the patient has a temporary ID and the system URIs for personnummer and samordningsnummer can not be applied, then use element MUST be set to temp." />
    </element>
    <element id="Observation.subject.identifier:personnummer">
      <path value="Observation.subject.identifier" />
      <sliceName value="personnummer" />
    </element>
    <element id="Observation.subject.identifier:personnummer.system">
      <path value="Observation.subject.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.752.129.2.1.3.1" />
    </element>
    <element id="Observation.subject.identifier:personnummer.value">
      <path value="Observation.subject.identifier.value" />
      <min value="1" />
    </element>
    <element id="Observation.subject.identifier:samordningsnummer">
      <path value="Observation.subject.identifier" />
      <sliceName value="samordningsnummer" />
    </element>
    <element id="Observation.subject.identifier:samordningsnummer.system">
      <path value="Observation.subject.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.752.129.2.1.3.3" />
    </element>
    <element id="Observation.subject.identifier:samordningsnummer.value">
      <path value="Observation.subject.identifier.value" />
      <min value="1" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="type" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.performer:PractitionerRole">
      <path value="Observation.performer" />
      <sliceName value="PractitionerRole" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
      </type>
    </element>
    <element id="Observation.performer:PractitionerRole.type">
      <path value="Observation.performer.type" />
      <min value="1" />
      <fixedUri value="PractitionerRole" />
    </element>
    <element id="Observation.performer:Practitioner">
      <path value="Observation.performer" />
      <sliceName value="Practitioner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
    </element>
    <element id="Observation.performer:Practitioner.type">
      <path value="Observation.performer.type" />
      <min value="1" />
      <fixedUri value="Practitioner" />
    </element>
    <element id="Observation.performer:Practitioner.identifier.system">
      <path value="Observation.performer.identifier.system" />
      <definition value="URN of the the HSA-ID catalogue" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.752.129.2.1.4.1" />
    </element>
    <element id="Observation.performer:Practitioner.identifier.value">
      <path value="Observation.performer.identifier.value" />
      <definition value="The" />
      <min value="1" />
    </element>
    <element id="Observation.performer:Patient">
      <path value="Observation.performer" />
      <sliceName value="Patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.performer:Patient.type">
      <path value="Observation.performer.type" />
      <min value="1" />
      <fixedUri value="Patient" />
    </element>
    <element id="Observation.performer:Organization">
      <path value="Observation.performer" />
      <sliceName value="Organization" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
    </element>
    <element id="Observation.performer:Organization.type">
      <path value="Observation.performer.type" />
      <min value="1" />
      <fixedUri value="Organization" />
    </element>
    <element id="Observation.performer:Organization.identifier.system">
      <path value="Observation.performer.identifier.system" />
      <definition value="The URN of the HSA-ID catalogue" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.752.129.2.1.4.1" />
    </element>
    <element id="Observation.performer:Organization.identifier.value">
      <path value="Observation.performer.identifier.value" />
      <definition value="The HSA-ID of the organization(unit)" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>