{
  "resourceType": "StructureDefinition",
  "url": "https://talkingeyes.de/fhir/StructureDefinition/DIGA_Goal_TargetPressure_OS",
  "name": "DIGA_Goal_TargetPressure_OS",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Goal",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Goal.identifier",
        "path": "Goal.identifier",
        "max": "0"
      },
      {
        "id": "Goal.lifecycleStatus",
        "path": "Goal.lifecycleStatus",
        "fixedCode": "planned"
      },
      {
        "id": "Goal.achievementStatus",
        "path": "Goal.achievementStatus",
        "max": "0"
      },
      {
        "id": "Goal.category",
        "path": "Goal.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.category.coding",
        "path": "Goal.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.category.coding.system",
        "path": "Goal.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Goal.category.coding.version",
        "path": "Goal.category.coding.version",
        "max": "0"
      },
      {
        "id": "Goal.category.coding.code",
        "path": "Goal.category.coding.code",
        "min": 1,
        "fixedCode": "371933006"
      },
      {
        "id": "Goal.category.coding.display",
        "path": "Goal.category.coding.display",
        "min": 1,
        "fixedString": "Obere Grenze des Referenzbereichs"
      },
      {
        "id": "Goal.category.coding.userSelected",
        "path": "Goal.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.category.text",
        "path": "Goal.category.text",
        "max": "0"
      },
      {
        "id": "Goal.priority",
        "path": "Goal.priority",
        "max": "0"
      },
      {
        "id": "Goal.description.coding",
        "path": "Goal.description.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.description.coding.system",
        "path": "Goal.description.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Goal.description.coding.version",
        "path": "Goal.description.coding.version",
        "max": "0"
      },
      {
        "id": "Goal.description.coding.code",
        "path": "Goal.description.coding.code",
        "min": 1,
        "fixedCode": "41633001"
      },
      {
        "id": "Goal.description.coding.display",
        "path": "Goal.description.coding.display",
        "min": 1,
        "fixedString": "Augeninnendruck (beobachtbare Einheit)"
      },
      {
        "id": "Goal.description.coding.userSelected",
        "path": "Goal.description.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.description.text",
        "path": "Goal.description.text",
        "max": "0"
      },
      {
        "id": "Goal.subject.reference",
        "path": "Goal.subject.reference",
        "max": "0"
      },
      {
        "id": "Goal.subject.type",
        "path": "Goal.subject.type",
        "max": "0"
      },
      {
        "id": "Goal.subject.identifier",
        "path": "Goal.subject.identifier",
        "min": 1
      },
      {
        "id": "Goal.subject.identifier.use",
        "path": "Goal.subject.identifier.use",
        "max": "0"
      },
      {
        "id": "Goal.subject.identifier.type",
        "path": "Goal.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "Goal.subject.identifier.system",
        "path": "Goal.subject.identifier.system",
        "min": 1,
        "fixedUri": "http://www.talkingeyes-portal.de/tonotracker/patientId"
      },
      {
        "id": "Goal.subject.identifier.value",
        "path": "Goal.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Goal.subject.identifier.period",
        "path": "Goal.subject.identifier.period",
        "max": "0"
      },
      {
        "id": "Goal.subject.identifier.assigner",
        "path": "Goal.subject.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Goal.subject.display",
        "path": "Goal.subject.display",
        "max": "0"
      },
      {
        "id": "Goal.start[x]",
        "path": "Goal.start[x]",
        "max": "0"
      },
      {
        "id": "Goal.target",
        "path": "Goal.target",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.target.measure",
        "path": "Goal.target.measure",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding",
        "path": "Goal.target.measure.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.target.measure.coding.system",
        "path": "Goal.target.measure.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Goal.target.measure.coding.version",
        "path": "Goal.target.measure.coding.version",
        "min": 1,
        "fixedString": "Loinc Version 2.69"
      },
      {
        "id": "Goal.target.measure.coding.code",
        "path": "Goal.target.measure.coding.code",
        "min": 1,
        "fixedCode": "79893-4"
      },
      {
        "id": "Goal.target.measure.coding.display",
        "path": "Goal.target.measure.coding.display",
        "min": 1,
        "fixedString": "Augeninnendruck linkes Auge (OS)"
      },
      {
        "id": "Goal.target.measure.coding.userSelected",
        "path": "Goal.target.measure.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.target.measure.text",
        "path": "Goal.target.measure.text",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]",
        "path": "Goal.target.detail[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Goal.target.detail[x].value",
        "path": "Goal.target.detail[x].value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x].comparator",
        "path": "Goal.target.detail[x].comparator",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x].unit",
        "path": "Goal.target.detail[x].unit",
        "min": 1,
        "fixedString": "mmHg"
      },
      {
        "id": "Goal.target.detail[x].system",
        "path": "Goal.target.detail[x].system",
        "min": 1,
        "fixedUri": "http://ucum.org"
      },
      {
        "id": "Goal.target.detail[x].code",
        "path": "Goal.target.detail[x].code",
        "min": 1,
        "fixedCode": "mm[Hg]"
      },
      {
        "id": "Goal.target.due[x]",
        "path": "Goal.target.due[x]",
        "max": "0"
      },
      {
        "id": "Goal.statusDate",
        "path": "Goal.statusDate",
        "max": "0"
      },
      {
        "id": "Goal.statusReason",
        "path": "Goal.statusReason",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy",
        "path": "Goal.expressedBy",
        "min": 1
      },
      {
        "id": "Goal.expressedBy.reference",
        "path": "Goal.expressedBy.reference",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.type",
        "path": "Goal.expressedBy.type",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.identifier",
        "path": "Goal.expressedBy.identifier",
        "min": 1
      },
      {
        "id": "Goal.expressedBy.identifier.use",
        "path": "Goal.expressedBy.identifier.use",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.identifier.type",
        "path": "Goal.expressedBy.identifier.type",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.identifier.system",
        "path": "Goal.expressedBy.identifier.system",
        "min": 1,
        "fixedUri": "http://www.talkingeyes-portal.de/tonotracker/physicianId"
      },
      {
        "id": "Goal.expressedBy.identifier.value",
        "path": "Goal.expressedBy.identifier.value",
        "min": 1
      },
      {
        "id": "Goal.expressedBy.identifier.period",
        "path": "Goal.expressedBy.identifier.period",
        "max": "0"
      },
      {
        "id": "Goal.expressedBy.identifier.assigner",
        "path": "Goal.expressedBy.identifier.assigner",
        "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",
        "max": "0"
      },
      {
        "id": "Goal.outcomeCode",
        "path": "Goal.outcomeCode",
        "max": "0"
      },
      {
        "id": "Goal.outcomeReference",
        "path": "Goal.outcomeReference",
        "max": "0"
      }
    ]
  }
}