{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-MIO-DIGA-Goal",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal",
  "version": "1.1.0",
  "name": "KBV_PR_MIO_DIGA_Goal",
  "title": "KBV_PR_MIO_DIGA_Goal",
  "status": "active",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet ein Ziel ab.",
  "copyright": "Im folgenden Profil können Codes aus den Codesystemen Snomed, Loinc oder Ucum enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED Clinical Terms® SNOMED CT® which is used by permission of SNOMED International. All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. SNOMED and SNOMED CT are registered trademarks of SNOMED International. Implementers of these artefacts must have the appropriate SNOMED CT Affiliate license. This material contains content from Loinc http://loinc.org. Loinc is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes Loinc Committee and is available at no cost under the license at http://loinc.org/license. Loinc® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures UCUM Organization. All rights reserved. THE UCUM TABLE IN ALL FORMATS, UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED \"AS IS.\" ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Goal",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Treatment_Goal|1.3.0",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Goal",
        "path": "Goal",
        "definition": "Dieses Profil bildet ein Ziel ab."
      },
      {
        "id": "Goal.meta",
        "path": "Goal.meta",
        "min": 1
      },
      {
        "id": "Goal.meta.versionId",
        "path": "Goal.meta.versionId",
        "min": 1
      },
      {
        "id": "Goal.meta.lastUpdated",
        "path": "Goal.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Goal.meta.source",
        "path": "Goal.meta.source",
        "max": "0"
      },
      {
        "id": "Goal.meta.profile",
        "path": "Goal.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Goal.meta.profile:mioProfile",
        "path": "Goal.meta.profile",
        "sliceName": "mioProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal|1.1.0"
      },
      {
        "id": "Goal.meta.security",
        "path": "Goal.meta.security",
        "max": "0"
      },
      {
        "id": "Goal.meta.tag",
        "path": "Goal.meta.tag",
        "max": "0"
      },
      {
        "id": "Goal.implicitRules",
        "path": "Goal.implicitRules",
        "max": "0"
      },
      {
        "id": "Goal.language",
        "path": "Goal.language",
        "max": "0"
      },
      {
        "id": "Goal.text",
        "path": "Goal.text",
        "definition": "In diesem Element können die, in der Instanz, enthaltenen Informationen in einer menschenlesbaren Form zusammengefasst werden. Dabei ist zu beachten, dass keine Informationen aufgenommen werden dürfen, die nicht in strukturierter Form an anderer Stelle in der Instanz enthalten sind."
      },
      {
        "id": "Goal.text.status",
        "path": "Goal.text.status",
        "fixedCode": "extensions"
      },
      {
        "id": "Goal.contained",
        "path": "Goal.contained",
        "max": "0"
      },
      {
        "id": "Goal.extension",
        "path": "Goal.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "Goal.extension:endDatum",
        "path": "Goal.extension",
        "sliceName": "endDatum",
        "mustSupport": true
      },
      {
        "id": "Goal.extension:endDatum.value[x]",
        "path": "Goal.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "Goal.extension:endDatum.value[x]:valueDate",
        "path": "Goal.extension.valueDate",
        "sliceName": "valueDate",
        "mustSupport": true
      },
      {
        "id": "Goal.identifier",
        "path": "Goal.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Goal.identifier.use",
        "path": "Goal.identifier.use",
        "max": "0"
      },
      {
        "id": "Goal.identifier.type",
        "path": "Goal.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "version": "2.9",
              "code": "RI",
              "display": "Resource identifier"
            }
          ]
        }
      },
      {
        "id": "Goal.identifier.type.coding",
        "path": "Goal.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.identifier.type.coding.system",
        "path": "Goal.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Goal.identifier.type.coding.version",
        "path": "Goal.identifier.type.coding.version",
        "min": 1
      },
      {
        "id": "Goal.identifier.type.coding.code",
        "path": "Goal.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Goal.identifier.type.coding.display",
        "path": "Goal.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Goal.identifier.type.coding.userSelected",
        "path": "Goal.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.identifier.type.text",
        "path": "Goal.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Goal.identifier.system",
        "path": "Goal.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986",
        "mustSupport": true
      },
      {
        "id": "Goal.identifier.value",
        "path": "Goal.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.identifier.period",
        "path": "Goal.identifier.period",
        "max": "0"
      },
      {
        "id": "Goal.identifier.assigner",
        "path": "Goal.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Goal.lifecycleStatus",
        "path": "Goal.lifecycleStatus",
        "mustSupport": true
      },
      {
        "id": "Goal.achievementStatus",
        "path": "Goal.achievementStatus",
        "mustSupport": true,
        "binding": {
          "strength": "required"
        }
      },
      {
        "id": "Goal.achievementStatus.coding",
        "path": "Goal.achievementStatus.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Goal.achievementStatus.coding.system",
        "path": "Goal.achievementStatus.coding.system",
        "min": 1
      },
      {
        "id": "Goal.achievementStatus.coding.version",
        "path": "Goal.achievementStatus.coding.version",
        "min": 1
      },
      {
        "id": "Goal.achievementStatus.coding.code",
        "path": "Goal.achievementStatus.coding.code",
        "min": 1
      },
      {
        "id": "Goal.achievementStatus.coding.display",
        "path": "Goal.achievementStatus.coding.display",
        "min": 1
      },
      {
        "id": "Goal.achievementStatus.coding.userSelected",
        "path": "Goal.achievementStatus.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.achievementStatus.text",
        "path": "Goal.achievementStatus.text",
        "max": "0"
      },
      {
        "id": "Goal.category",
        "path": "Goal.category",
        "max": "0"
      },
      {
        "id": "Goal.priority",
        "path": "Goal.priority",
        "mustSupport": true,
        "binding": {
          "strength": "required"
        }
      },
      {
        "id": "Goal.priority.coding",
        "path": "Goal.priority.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Goal.priority.coding.system",
        "path": "Goal.priority.coding.system",
        "min": 1
      },
      {
        "id": "Goal.priority.coding.version",
        "path": "Goal.priority.coding.version",
        "min": 1
      },
      {
        "id": "Goal.priority.coding.code",
        "path": "Goal.priority.coding.code",
        "min": 1
      },
      {
        "id": "Goal.priority.coding.display",
        "path": "Goal.priority.coding.display",
        "min": 1
      },
      {
        "id": "Goal.priority.coding.userSelected",
        "path": "Goal.priority.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.priority.text",
        "path": "Goal.priority.text",
        "max": "0"
      },
      {
        "id": "Goal.description",
        "path": "Goal.description",
        "mustSupport": true
      },
      {
        "id": "Goal.description.coding",
        "path": "Goal.description.coding",
        "mustSupport": true
      },
      {
        "id": "Goal.description.coding.system",
        "path": "Goal.description.coding.system",
        "min": 1
      },
      {
        "id": "Goal.description.coding.version",
        "path": "Goal.description.coding.version",
        "min": 1
      },
      {
        "id": "Goal.description.coding.code",
        "path": "Goal.description.coding.code",
        "min": 1
      },
      {
        "id": "Goal.description.coding.display",
        "path": "Goal.description.coding.display",
        "min": 1
      },
      {
        "id": "Goal.description.coding.userSelected",
        "path": "Goal.description.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.description.text",
        "path": "Goal.description.text",
        "mustSupport": true
      },
      {
        "id": "Goal.subject",
        "path": "Goal.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.subject.reference",
        "path": "Goal.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.subject.type",
        "path": "Goal.subject.type",
        "max": "0"
      },
      {
        "id": "Goal.subject.identifier",
        "path": "Goal.subject.identifier",
        "max": "0"
      },
      {
        "id": "Goal.subject.display",
        "path": "Goal.subject.display",
        "max": "0"
      },
      {
        "id": "Goal.start[x]",
        "path": "Goal.start[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.start[x]:startDate",
        "path": "Goal.start[x]",
        "sliceName": "startDate",
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target",
        "path": "Goal.target",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Goal.target.measure",
        "path": "Goal.target.measure",
        "mustSupport": true
      },
      {
        "id": "Goal.target.measure.coding",
        "path": "Goal.target.measure.coding",
        "mustSupport": true
      },
      {
        "id": "Goal.target.measure.coding.system",
        "path": "Goal.target.measure.coding.system",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding.version",
        "path": "Goal.target.measure.coding.version",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding.code",
        "path": "Goal.target.measure.coding.code",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding.display",
        "path": "Goal.target.measure.coding.display",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding.userSelected",
        "path": "Goal.target.measure.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.target.measure.text",
        "path": "Goal.target.measure.text",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]",
        "path": "Goal.target.detail[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          },
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange",
        "path": "Goal.target.detail[x]",
        "sliceName": "detailRange",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low",
        "path": "Goal.target.detail[x].low",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.value",
        "path": "Goal.target.detail[x].low.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high",
        "path": "Goal.target.detail[x].high",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.value",
        "path": "Goal.target.detail[x].high.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio",
        "path": "Goal.target.detail[x]",
        "sliceName": "detailRatio",
        "type": [
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator",
        "path": "Goal.target.detail[x].numerator",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.value",
        "path": "Goal.target.detail[x].numerator.value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.comparator",
        "path": "Goal.target.detail[x].numerator.comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.unit",
        "path": "Goal.target.detail[x].numerator.unit",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.system",
        "path": "Goal.target.detail[x].numerator.system",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.code",
        "path": "Goal.target.detail[x].numerator.code",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator",
        "path": "Goal.target.detail[x].denominator",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.value",
        "path": "Goal.target.detail[x].denominator.value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.comparator",
        "path": "Goal.target.detail[x].denominator.comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.unit",
        "path": "Goal.target.detail[x].denominator.unit",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.system",
        "path": "Goal.target.detail[x].denominator.system",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.code",
        "path": "Goal.target.detail[x].denominator.code",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity",
        "path": "Goal.target.detail[x]",
        "sliceName": "detailQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.value",
        "path": "Goal.target.detail[x].value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.comparator",
        "path": "Goal.target.detail[x].comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.unit",
        "path": "Goal.target.detail[x].unit",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.system",
        "path": "Goal.target.detail[x].system",
        "min": 1,
        "patternUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.code",
        "path": "Goal.target.detail[x].code",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailString",
        "path": "Goal.target.detail[x]",
        "sliceName": "detailString",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.due[x]",
        "path": "Goal.target.due[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.due[x]:dueDate",
        "path": "Goal.target.due[x]",
        "sliceName": "dueDate",
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.statusDate",
        "path": "Goal.statusDate",
        "max": "0"
      },
      {
        "id": "Goal.statusReason",
        "path": "Goal.statusReason",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy",
        "path": "Goal.expressedBy",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.expressedBy.reference",
        "path": "Goal.expressedBy.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.expressedBy.type",
        "path": "Goal.expressedBy.type",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.identifier",
        "path": "Goal.expressedBy.identifier",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.display",
        "path": "Goal.expressedBy.display",
        "max": "0"
      },
      {
        "id": "Goal.addresses",
        "path": "Goal.addresses",
        "max": "0"
      },
      {
        "id": "Goal.note",
        "path": "Goal.note",
        "mustSupport": true
      },
      {
        "id": "Goal.note.author[x]",
        "path": "Goal.note.author[x]",
        "max": "0"
      },
      {
        "id": "Goal.note.time",
        "path": "Goal.note.time",
        "max": "0"
      },
      {
        "id": "Goal.note.text",
        "path": "Goal.note.text",
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeCode",
        "path": "Goal.outcomeCode",
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeCode.coding",
        "path": "Goal.outcomeCode.coding",
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeCode.coding.system",
        "path": "Goal.outcomeCode.coding.system",
        "min": 1
      },
      {
        "id": "Goal.outcomeCode.coding.version",
        "path": "Goal.outcomeCode.coding.version",
        "min": 1
      },
      {
        "id": "Goal.outcomeCode.coding.code",
        "path": "Goal.outcomeCode.coding.code",
        "min": 1
      },
      {
        "id": "Goal.outcomeCode.coding.display",
        "path": "Goal.outcomeCode.coding.display",
        "min": 1
      },
      {
        "id": "Goal.outcomeCode.coding.userSelected",
        "path": "Goal.outcomeCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.outcomeCode.text",
        "path": "Goal.outcomeCode.text",
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeReference",
        "path": "Goal.outcomeReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Head_Circumference|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Height|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Temperature|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeReference.reference",
        "path": "Goal.outcomeReference.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.outcomeReference.type",
        "path": "Goal.outcomeReference.type",
        "max": "0"
      },
      {
        "id": "Goal.outcomeReference.identifier",
        "path": "Goal.outcomeReference.identifier",
        "max": "0"
      },
      {
        "id": "Goal.outcomeReference.display",
        "path": "Goal.outcomeReference.display",
        "max": "0"
      }
    ]
  }
}