<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentFitIndex" />
  <name value="OrthelligentFitIndex" />
  <status value="draft" />
  <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/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.category">
      <path value="Observation.category" />
      <short value="Classification of type of fit index" />
      <definition value="A code that classifies the type of fit index: overall fit index, category fit index, or test fit index." />
      <mustSupport value="true" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <short value="FitIndex (percentage value)" />
      <definition value="This is fit index value of the respective measurement:&#xD;&#xA;- the overall fit index calculated from category fit indices&#xD;&#xA;- the category fit index calculated from all test fit indices of the category&#xD;&#xA;- an individual test fit index calculated from an atomic test result of the target body part measurement in relation to a reference value (mostly: the healthy body part or a reference value of healthy individual)" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <short value="CategoryFitIndex (Indices)" />
      <definition value="Category fit indices this overall fit index is calculated from" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentCategoryFitIndex" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <short value="Possible additional input values for the fit index" />
      <definition value="If additional values are required for calculating the fit index (other than derivedFrom elements), they are to be listed here." />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>