{
  "resourceType": "StructureDefinition",
  "url": "http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentTreatment",
  "name": "OrthelligentTreatment",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "fixedCode": "plan"
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "short": "Orthelligent Mode",
        "definition": "Identifies the mode Orthelligent is used in: Rehabiliation, or Prevention.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "short": "Orthelligent Patient",
        "definition": "Identifies the Orthelligent Patient."
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "short": "Treatment Period (Start Date)",
        "definition": "The period of the Orthelligent Treatment (only start date is used at this stage).",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "short": "Treatment Start Date",
        "definition": "The start of the treatment (boundary inclusive).",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "short": "Additional Information on the Care Plan, at least the Body Weight and Body Height",
        "min": 2,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentBodyHeight",
              "http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentBodyWeight",
              "http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentSportType",
              "http://oped.de/orthelligent/fhir/StructureDefinition/OrthelligentSportLevel"
            ]
          }
        ]
      }
    ]
  }
}