{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_Goal_Medication_Target",
  "version": "1.0.0",
  "name": "KBV_PR_MIO_TELE_Goal_Medication_Target",
  "title": "KBV_PR_MIO_TELE_Goal_Medication_Target",
  "status": "active",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet ein medikamentöses Behandlungsziel 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 &quot;AS IS.&quot; 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": "http://hl7.org/fhir/StructureDefinition/Goal",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Goal",
        "path": "Goal",
        "definition": "Dieses Profil bildet ein medikamentöses Behandlungsziel ab."
      },
      {
        "id": "Goal.meta",
        "path": "Goal.meta",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.meta.versionId",
        "path": "Goal.meta.versionId",
        "max": "0"
      },
      {
        "id": "Goal.meta.lastUpdated",
        "path": "Goal.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Goal.meta.source",
        "path": "Goal.meta.source",
        "max": "0"
      },
      {
        "id": "Goal.meta.profile",
        "path": "Goal.meta.profile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_Goal_Medication_Target|1.0.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",
        "patternCode": "extensions"
      },
      {
        "id": "Goal.contained",
        "path": "Goal.contained",
        "max": "0"
      },
      {
        "id": "Goal.extension",
        "path": "Goal.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.extension:endDatum",
        "path": "Goal.extension",
        "sliceName": "endDatum",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_TELE_Goal_Medication_Target_End|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.identifier",
        "path": "Goal.identifier",
        "max": "0"
      },
      {
        "id": "Goal.lifecycleStatus",
        "path": "Goal.lifecycleStatus",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_MIO_TELE_GoalLifecycleStatus|1.0.0"
        }
      },
      {
        "id": "Goal.lifecycleStatus.extension",
        "path": "Goal.lifecycleStatus.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Goal.lifecycleStatus.extension:anzeigenameLifeCycleStatus",
        "path": "Goal.lifecycleStatus.extension",
        "sliceName": "anzeigenameLifeCycleStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.lifecycleStatus.extension:anzeigenameLifeCycleStatus.extension",
        "path": "Goal.lifecycleStatus.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Goal.lifecycleStatus.extension:anzeigenameLifeCycleStatus.extension:content",
        "path": "Goal.lifecycleStatus.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "id": "Goal.lifecycleStatus.extension:anzeigenameLifeCycleStatus.extension:content.value[x]",
        "path": "Goal.lifecycleStatus.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "Goal.lifecycleStatus.extension:anzeigenameLifeCycleStatus.extension:content.value[x]:valueString",
        "path": "Goal.lifecycleStatus.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus  https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_TELE_GoalLifecycleStatus_German|1.0.0",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.achievementStatus",
        "path": "Goal.achievementStatus",
        "max": "0"
      },
      {
        "id": "Goal.category",
        "path": "Goal.category",
        "max": "0"
      },
      {
        "id": "Goal.priority",
        "path": "Goal.priority",
        "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_TELE_Patient|1.0.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",
        "mustSupport": true
      },
      {
        "id": "Goal.target.measure",
        "path": "Goal.target.measure",
        "min": 1,
        "max": "1",
        "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": "CodeableConcept"
          },
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity",
        "path": "Goal.target.detailQuantity",
        "sliceName": "detailQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.value",
        "path": "Goal.target.detailQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.comparator",
        "path": "Goal.target.detailQuantity.comparator",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.unit",
        "path": "Goal.target.detailQuantity.unit",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.system",
        "path": "Goal.target.detailQuantity.system",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailQuantity.code",
        "path": "Goal.target.detailQuantity.code",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange",
        "path": "Goal.target.detailRange",
        "sliceName": "detailRange",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low",
        "path": "Goal.target.detailRange.low",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.value",
        "path": "Goal.target.detailRange.low.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.comparator",
        "path": "Goal.target.detailRange.low.comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.unit",
        "path": "Goal.target.detailRange.low.unit",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.system",
        "path": "Goal.target.detailRange.low.system",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.code",
        "path": "Goal.target.detailRange.low.code",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high",
        "path": "Goal.target.detailRange.high",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.value",
        "path": "Goal.target.detailRange.high.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.comparator",
        "path": "Goal.target.detailRange.high.comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.unit",
        "path": "Goal.target.detailRange.high.unit",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.system",
        "path": "Goal.target.detailRange.high.system",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.code",
        "path": "Goal.target.detailRange.high.code",
        "min": 0,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept",
        "path": "Goal.target.detailCodeableConcept",
        "sliceName": "detailCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding",
        "path": "Goal.target.detailCodeableConcept.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode",
        "path": "Goal.target.detailCodeableConcept.coding",
        "sliceName": "snomedCode",
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct"
        },
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode.system",
        "path": "Goal.target.detailCodeableConcept.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode.version",
        "path": "Goal.target.detailCodeableConcept.coding.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode.code",
        "path": "Goal.target.detailCodeableConcept.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode.display",
        "path": "Goal.target.detailCodeableConcept.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.coding:snomedCode.userSelected",
        "path": "Goal.target.detailCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailCodeableConcept.text",
        "path": "Goal.target.detailCodeableConcept.text",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio",
        "path": "Goal.target.detailRatio",
        "sliceName": "detailRatio",
        "type": [
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator",
        "path": "Goal.target.detailRatio.numerator",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.value",
        "path": "Goal.target.detailRatio.numerator.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.comparator",
        "path": "Goal.target.detailRatio.numerator.comparator",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.unit",
        "path": "Goal.target.detailRatio.numerator.unit",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.system",
        "path": "Goal.target.detailRatio.numerator.system",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.numerator.code",
        "path": "Goal.target.detailRatio.numerator.code",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator",
        "path": "Goal.target.detailRatio.denominator",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.value",
        "path": "Goal.target.detailRatio.denominator.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.comparator",
        "path": "Goal.target.detailRatio.denominator.comparator",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.unit",
        "path": "Goal.target.detailRatio.denominator.unit",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.system",
        "path": "Goal.target.detailRatio.denominator.system",
        "mustSupport": true
      },
      {
        "id": "Goal.target.detail[x]:detailRatio.denominator.code",
        "path": "Goal.target.detailRatio.denominator.code",
        "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",
        "max": "0"
      },
      {
        "id": "Goal.addresses",
        "path": "Goal.addresses",
        "max": "0"
      },
      {
        "id": "Goal.note",
        "path": "Goal.note",
        "max": "1",
        "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",
        "max": "0"
      },
      {
        "id": "Goal.outcomeReference",
        "path": "Goal.outcomeReference",
        "max": "0"
      }
    ]
  }
}