<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentTreatment" />
  <name value="OrthelligentTreatment" />
  <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="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="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="CarePlan" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
  <derivation value="constraint" />
  <differential>
    <element id="CarePlan.intent">
      <path value="CarePlan.intent" />
      <fixedCode value="plan" />
    </element>
    <element id="CarePlan.category">
      <path value="CarePlan.category" />
      <short value="Orthelligent Mode" />
      <definition value="Identifies the mode Orthelligent is used in: Rehabiliation, or Prevention." />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="CarePlan.subject">
      <path value="CarePlan.subject" />
      <short value="Orthelligent Patient" />
      <definition value="Identifies the Orthelligent Patient." />
    </element>
    <element id="CarePlan.period">
      <path value="CarePlan.period" />
      <short value="Treatment Period (Start Date)" />
      <definition value="The period of the Orthelligent Treatment (only start date is used at this stage)." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="CarePlan.period.start">
      <path value="CarePlan.period.start" />
      <short value="Treatment Start Date" />
      <definition value="The start of the treatment (boundary inclusive)." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="CarePlan.supportingInfo">
      <path value="CarePlan.supportingInfo" />
      <short value="Additional Information on the Care Plan, at least the Body Weight and Body Height" />
      <min value="2" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
        <targetProfile value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentBodyHeight" />
        <targetProfile value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentBodyWeight" />
        <targetProfile value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentSportType" />
        <targetProfile value="http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentSportLevel" />
      </type>
    </element>
  </differential>
</StructureDefinition>