{
  "resourceType": "StructureDefinition",
  "id": "464f7fc1-3630-4354-be19-520d87ba59e0",
  "meta": {
    "lastUpdated": "2021-01-25T11:29:59.258+00:00"
  },
  "url": "http://helios-gesundheit.de/fhir/IS-H/StructureDefinition/Patient",
  "name": "IshPatientHelios",
  "status": "draft",
  "experimental": true,
  "date": "2021-01-25T11:25:29.2216188+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://sap.com/healthcare/IS-H/fhir/StructureDefinition/genericpatient/v1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV",
        "path": "Patient.identifier",
        "sliceName": "versichertenId_GKV",
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-kvid-10"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                "code": "GKV"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.type",
        "path": "Patient.identifier.type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.type.coding",
        "path": "Patient.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.type.coding:GKV-Type",
        "path": "Patient.identifier.type.coding",
        "sliceName": "GKV-Type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.type.coding:GKV-Type.system",
        "path": "Patient.identifier.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.type.coding:GKV-Type.code",
        "path": "Patient.identifier.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.system",
        "path": "Patient.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.value",
        "path": "Patient.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner",
        "path": "Patient.identifier.assigner",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier",
        "path": "Patient.identifier.assigner.identifier",
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-iknr"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.type",
        "path": "Patient.identifier.assigner.identifier.type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.type.coding",
        "path": "Patient.identifier.assigner.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.type.coding:XX-Type",
        "path": "Patient.identifier.assigner.identifier.type.coding",
        "sliceName": "XX-Type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.type.coding:XX-Type.system",
        "path": "Patient.identifier.assigner.identifier.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.type.coding:XX-Type.code",
        "path": "Patient.identifier.assigner.identifier.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.system",
        "path": "Patient.identifier.assigner.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versichertenId_GKV.assigner.identifier.value",
        "path": "Patient.identifier.assigner.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv",
        "path": "Patient.identifier",
        "sliceName": "versicherungsnummer_pkv",
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-pkv"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                "code": "PKV"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.use",
        "path": "Patient.identifier.use",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.type",
        "path": "Patient.identifier.type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.type.coding",
        "path": "Patient.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.type.coding:PKV-Type",
        "path": "Patient.identifier.type.coding",
        "sliceName": "PKV-Type",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.type.coding:PKV-Type.system",
        "path": "Patient.identifier.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.type.coding:PKV-Type.code",
        "path": "Patient.identifier.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.value",
        "path": "Patient.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.assigner",
        "path": "Patient.identifier.assigner",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.assigner.identifier.type.coding",
        "path": "Patient.identifier.assigner.identifier.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.assigner.identifier.system",
        "path": "Patient.identifier.assigner.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.assigner.identifier.value",
        "path": "Patient.identifier.assigner.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:versicherungsnummer_pkv.assigner.display",
        "path": "Patient.identifier.assigner.display",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:patnr_ish",
        "path": "Patient.identifier",
        "sliceName": "patnr_ish",
        "min": 1,
        "max": "1",
        "patternIdentifier": {
          "use": "official"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:patnr_ish.use",
        "path": "Patient.identifier.use",
        "fixedCode": "official",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:patnr_ish.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "constraint": [
          {
            "key": "patnr-1",
            "severity": "warning",
            "human": "Nur Integer",
            "expression": "matches('[0-9]')"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:name",
        "path": "Patient.name",
        "sliceName": "name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://fhir.de/StructureDefinition/humanname-de-basis"
            ]
          }
        ],
        "patternHumanName": {
          "use": "official"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.use",
        "path": "Patient.name.use",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.family",
        "path": "Patient.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.family.extension",
        "path": "Patient.name.family.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name:name.family.extension:namenszusatz",
        "path": "Patient.name.family.extension",
        "sliceName": "namenszusatz",
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.family.extension:nachname",
        "path": "Patient.name.family.extension",
        "sliceName": "nachname",
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.family.extension:vorsatzwort",
        "path": "Patient.name.family.extension",
        "sliceName": "vorsatzwort",
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.given",
        "path": "Patient.name.given",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.prefix",
        "path": "Patient.name.prefix",
        "mustSupport": true
      },
      {
        "id": "Patient.name:name.prefix.extension",
        "path": "Patient.name.prefix.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name:name.prefix.extension:prefix-qualifier",
        "path": "Patient.name.prefix.extension",
        "sliceName": "prefix-qualifier",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname",
        "path": "Patient.name",
        "sliceName": "geburtsname",
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://fhir.de/StructureDefinition/humanname-de-basis"
            ]
          }
        ],
        "patternHumanName": {
          "use": "maiden"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.use",
        "path": "Patient.name.use",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.family",
        "path": "Patient.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.family.extension",
        "path": "Patient.name.family.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name:geburtsname.family.extension:namenszusatz",
        "path": "Patient.name.family.extension",
        "sliceName": "namenszusatz",
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.family.extension:nachname",
        "path": "Patient.name.family.extension",
        "sliceName": "nachname",
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.family.extension:vorsatzwort",
        "path": "Patient.name.family.extension",
        "sliceName": "vorsatzwort",
        "mustSupport": true
      },
      {
        "id": "Patient.name:geburtsname.given",
        "path": "Patient.name.given",
        "max": "0"
      },
      {
        "id": "Patient.name:geburtsname.prefix",
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.name:geburtsname.prefix.extension",
        "path": "Patient.name.prefix.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name:geburtsname.prefix.extension:prefix-qualifier",
        "path": "Patient.name.prefix.extension",
        "sliceName": "prefix-qualifier",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.gender.extension",
        "path": "Patient.gender.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.gender.extension:other-amtlich",
        "path": "Patient.gender.extension",
        "sliceName": "other-amtlich",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/gender-amtlich-de"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "id": "Patient.birthDate.extension",
        "path": "Patient.birthDate.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.birthDate.extension:data-absent-reason",
        "path": "Patient.birthDate.extension",
        "sliceName": "data-absent-reason",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift",
        "path": "Patient.address",
        "sliceName": "Strassenanschrift",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "patternAddress": {
          "type": "both"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Strassenanschrift.extension:Stadtteil",
        "path": "Patient.address.extension",
        "sliceName": "Stadtteil",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.type",
        "path": "Patient.address.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.line",
        "path": "Patient.address.line",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.line.extension",
        "path": "Patient.address.line.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Strassenanschrift.line.extension:Strasse",
        "path": "Patient.address.line.extension",
        "sliceName": "Strasse",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.line.extension:Hausnummer",
        "path": "Patient.address.line.extension",
        "sliceName": "Hausnummer",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.line.extension:Adresszusatz",
        "path": "Patient.address.line.extension",
        "sliceName": "Adresszusatz",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.line.extension:Postfach",
        "path": "Patient.address.line.extension",
        "sliceName": "Postfach",
        "max": "0"
      },
      {
        "id": "Patient.address:Strassenanschrift.city",
        "path": "Patient.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.city.extension",
        "path": "Patient.address.city.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Strassenanschrift.city.extension:gemeindeschluessel",
        "path": "Patient.address.city.extension",
        "sliceName": "gemeindeschluessel",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/destatis/ags"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.postalCode",
        "path": "Patient.address.postalCode",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Strassenanschrift.country",
        "path": "Patient.address.country",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach",
        "path": "Patient.address",
        "sliceName": "Postfach",
        "max": "1",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "patternAddress": {
          "type": "postal"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Postfach.extension:Stadtteil",
        "path": "Patient.address.extension",
        "sliceName": "Stadtteil",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.type",
        "path": "Patient.address.type",
        "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both. Postfach ist in Deutschland aber per Definition eine postalische Adresse.",
        "min": 1,
        "fixedCode": "postal",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.line",
        "path": "Patient.address.line",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.line.extension",
        "path": "Patient.address.line.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Postfach.line.extension:Strasse",
        "path": "Patient.address.line.extension",
        "sliceName": "Strasse",
        "max": "0"
      },
      {
        "id": "Patient.address:Postfach.line.extension:Hausnummer",
        "path": "Patient.address.line.extension",
        "sliceName": "Hausnummer",
        "max": "0"
      },
      {
        "id": "Patient.address:Postfach.line.extension:Adresszusatz",
        "path": "Patient.address.line.extension",
        "sliceName": "Adresszusatz",
        "max": "0"
      },
      {
        "id": "Patient.address:Postfach.line.extension:Postfach",
        "path": "Patient.address.line.extension",
        "sliceName": "Postfach",
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.city",
        "path": "Patient.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.city.extension",
        "path": "Patient.address.city.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address:Postfach.city.extension:gemeindeschluessel",
        "path": "Patient.address.city.extension",
        "sliceName": "gemeindeschluessel",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/destatis/ags"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.postalCode",
        "path": "Patient.address.postalCode",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address:Postfach.country",
        "path": "Patient.address.country",
        "definition": "Staat (vorzugsweise als 2-Stelliger ISO-Ländercode).",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}