{
"description": "Die betroffene Person enthält relevante Angaben zum Patienten",
"_filename": "StructureDefinition-AffectedPerson.json",
"package_name": "rki.emiga.common",
"date": "2025-09-26",
"derivation": "constraint",
"publisher": "Robert Koch-Institut",
"fhirVersion": "4.0.1",
"name": "AffectedPerson",
"abstract": false,
"type": "Patient",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "Betroffene Person",
"package_version": "1.2.0-alpha.12",
"status": "active",
"id": "f9a2381f-8b74-4154-8a64-7cbb19eed417",
"kind": "resource",
"url": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"version": "0.2.0",
"differential": {
"element": [ {
"id": "Patient.meta",
"path": "Patient.meta",
"mustSupport": true
}, {
"id": "Patient.meta.extension:lastModifiedBy",
"max": "1",
"min": 0,
"path": "Patient.meta.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/LastModifiedBy" ]
} ],
"sliceName": "lastModifiedBy",
"mustSupport": true
}, {
"id": "Patient.meta.extension:lastModifiedBy.value[x]",
"path": "Patient.meta.extension.value[x]",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://emiga.rki.de/fhir/common/StructureDefinition/EmigaUserPractitioner" ]
} ]
}, {
"id": "Patient.meta.profile",
"min": 1,
"path": "Patient.meta.profile",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "$this",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "Patient.meta.profile:emigaprofile",
"max": "*",
"min": 0,
"path": "Patient.meta.profile",
"sliceName": "emigaprofile",
"patternCanonical": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson|1.2.0-alpha.12"
}, {
"id": "Patient.meta.security",
"path": "Patient.meta.security",
"slicing": {
"rules": "open",
"ordered": false,
"description": "Slicing security attribute by coding system",
"discriminator": [ {
"path": "system",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "Patient.meta.security:visibility",
"max": "1",
"min": 0,
"path": "Patient.meta.security",
"binding": {
"strength": "required",
"valueSet": "https://emiga.rki.de/fhir/common/ValueSet/PersonResourceVisibilityType"
},
"sliceName": "visibility",
"mustSupport": true
}, {
"id": "Patient.meta.security:visibility.system",
"min": 1,
"path": "Patient.meta.security.system",
"patternUri": "https://emiga.rki.de/fhir/common/CodeSystem/ResourceVisibilityType",
"mustSupport": true
}, {
"id": "Patient.meta.security:visibility.code",
"min": 1,
"path": "Patient.meta.security.code",
"mustSupport": true
}, {
"id": "Patient.meta.security:responsibility",
"max": "1",
"min": 0,
"path": "Patient.meta.security",
"binding": {
"strength": "required",
"valueSet": "https://emiga.rki.de/fhir/common/ValueSet/ResourceResponsibility"
},
"sliceName": "responsibility",
"mustSupport": true
}, {
"id": "Patient.meta.security:responsibility.system",
"min": 1,
"path": "Patient.meta.security.system",
"patternUri": "https://emiga.rki.de/fhir/common/CodeSystem/ResourceResponsibility",
"mustSupport": true
}, {
"id": "Patient.meta.security:responsibility.code",
"min": 1,
"path": "Patient.meta.security.code",
"mustSupport": true
}, {
"id": "Patient.implicitRules",
"max": "0",
"path": "Patient.implicitRules"
}, {
"id": "Patient.extension",
"path": "Patient.extension",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship",
"max": "*",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/patient-citizenship" ]
} ],
"sliceName": "citizenship",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship.extension:code",
"path": "Patient.extension.extension",
"sliceName": "code"
}, {
"id": "Patient.extension:citizenship.extension:code.value[x]",
"path": "Patient.extension.extension.value[x]",
"short": "Staatsangehörigkeit",
"binding": {
"strength": "extensible",
"valueSet": "https://emiga.rki.de/fhir/ValueSet/CountryCodes"
},
"definition": "Staatsangehörigkeit der betroffenen Person"
}, {
"id": "Patient.extension:citizenship.extension:code.value[x].coding",
"min": 1,
"path": "Patient.extension.extension.value[x].coding",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship.extension:code.value[x].coding.system",
"min": 1,
"path": "Patient.extension.extension.value[x].coding.system",
"patternUri": "http://fhir.de/CodeSystem/deuev/anlage-8-laenderkennzeichen",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship.extension:code.value[x].coding.version",
"path": "Patient.extension.extension.value[x].coding.version",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship.extension:code.value[x].coding.code",
"min": 1,
"path": "Patient.extension.extension.value[x].coding.code",
"mustSupport": true
}, {
"id": "Patient.extension:citizenship.extension:code.value[x].coding.display",
"path": "Patient.extension.extension.value[x].coding.display",
"mustSupport": true
}, {
"id": "Patient.extension:landOfBirth",
"max": "1",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/LandOfBirth" ]
} ],
"sliceName": "landOfBirth",
"mustSupport": true
}, {
"id": "Patient.extension:processingStatus",
"max": "1",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/ProcessingStatusAffectedPerson" ]
} ],
"sliceName": "processingStatus",
"mustSupport": true
}, {
"id": "Patient.identifier",
"min": 2,
"path": "Patient.identifier",
"slicing": {
"rules": "open",
"ordered": false,
"description": "slicing patient identifier by system",
"discriminator": [ {
"path": "system",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "Patient.identifier:EmigaID",
"max": "1",
"min": 1,
"path": "Patient.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://emiga.rki.de/fhir/common/StructureDefinition/IdentifierEmigaID" ]
} ],
"sliceName": "EmigaID",
"mustSupport": true
}, {
"id": "Patient.identifier:EmigaID.use",
"path": "Patient.identifier.use",
"fixedCode": "official",
"mustSupport": true
}, {
"id": "Patient.identifier:EmigaFileNumber",
"max": "1",
"min": 1,
"path": "Patient.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://emiga.rki.de/fhir/common/StructureDefinition/IdentifierEmigaFileNumber" ]
} ],
"sliceName": "EmigaFileNumber",
"mustSupport": true
}, {
"id": "Patient.identifier:EmigaFileNumber.use",
"path": "Patient.identifier.use",
"fixedCode": "official",
"mustSupport": true
}, {
"id": "Patient.identifier:SurvNetFileNumber",
"max": "1",
"min": 0,
"path": "Patient.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://emiga.rki.de/fhir/common/StructureDefinition/IdentifierSurvNetFileNumber" ]
} ],
"sliceName": "SurvNetFileNumber",
"mustSupport": true
}, {
"id": "Patient.identifier:SurvNetFileNumber.use",
"path": "Patient.identifier.use",
"fixedCode": "temp",
"mustSupport": true
}, {
"id": "Patient.name",
"path": "Patient.name",
"type": [ {
"code": "HumanName",
"profile": [ "http://fhir.de/StructureDefinition/humanname-de-basis" ]
} ],
"short": "Name",
"constraint": [ {
"key": "maidenNameOnlyFamily",
"human": "Wenn name.use = 'maiden', darf nur name.family ausgefüllt werden. Die anderen Namensbestandteile müssen leer sein.",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "name.where(use = 'maiden').all(given.empty() and prefix.empty() and suffix.empty() and text.empty() and family.exists())"
} ],
"definition": "Name der betroffenen Person.",
"mustSupport": true
}, {
"id": "Patient.name.extension:salutation",
"max": "1",
"min": 0,
"path": "Patient.name.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/Salutation" ]
} ],
"sliceName": "salutation",
"mustSupport": true
}, {
"id": "Patient.name.use",
"path": "Patient.name.use",
"comment": "Die Geburtsname wird über den use 'maiden' abgebildet. Der offizielle Name wird über den use 'official' abgebildet. Der Kurzname wird über den use 'nickname' abgebildet. Wenn kein Wert angegeben wird, ist der offizielle Name gemeint.",
"mustSupport": true
}, {
"id": "Patient.name.family",
"path": "Patient.name.family",
"short": "Nachname",
"definition": "Nachname der betroffenen Person.",
"mustSupport": true
}, {
"id": "Patient.name.given",
"path": "Patient.name.given",
"definition": "Vorname der betroffenen Person.",
"mustSupport": true
}, {
"id": "Patient.telecom",
"path": "Patient.telecom",
"slicing": {
"rules": "closed",
"discriminator": [ {
"path": "system",
"type": "value"
} ]
},
"definition": "Kontaktangaben der betroffenen Person. Telefonnummern, E-Mailadressen, Urls und Faxnummern können angegeben werden.",
"mustSupport": true
}, {
"id": "Patient.telecom:Email",
"max": "*",
"min": 0,
"path": "Patient.telecom",
"sliceName": "Email"
}, {
"id": "Patient.telecom:Email.system",
"min": 1,
"path": "Patient.telecom.system",
"fixedCode": "email",
"mustSupport": true
}, {
"id": "Patient.telecom:Email.value",
"min": 1,
"path": "Patient.telecom.value",
"constraint": [ {
"key": "validEmailAddress",
"human": "Die E-Mail-Adresse muss valide sein.",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+[.])+[a-zA-Z0-9]{2,63}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.telecom:Phone",
"max": "*",
"min": 0,
"path": "Patient.telecom",
"sliceName": "Phone"
}, {
"id": "Patient.telecom:Phone.system",
"min": 1,
"path": "Patient.telecom.system",
"fixedCode": "phone",
"mustSupport": true
}, {
"id": "Patient.telecom:Phone.value",
"min": 1,
"path": "Patient.telecom.value",
"constraint": [ {
"key": "validPhoneNumber",
"human": "Die Telefonnummer muss valide sein.",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^(( ?\\\\+[0-9]{2,4}( ?[0-9]+? ?| ? \\\\([0-9]+?\\\\) ?))|(\\\\(0[0-9 ]+?\\\\) ?)|( 0[0-9]+? ?( |-|\\/) ?))? ?[0-9]+?[0-9 \\/-]*[0-9]$')"
} ],
"mustSupport": true
}, {
"id": "Patient.telecom:Fax",
"max": "*",
"min": 0,
"path": "Patient.telecom",
"sliceName": "Fax"
}, {
"id": "Patient.telecom:Fax.system",
"min": 1,
"path": "Patient.telecom.system",
"fixedCode": "fax"
}, {
"id": "Patient.telecom:Fax.value",
"min": 1,
"path": "Patient.telecom.value",
"constraint": [ {
"key": "validFaxNumber",
"human": "Die Faxnummer muss valide sein.",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^(( ?\\\\+[0-9]{2,4}( ?[0-9]+? ?| ? \\\\([0-9]+?\\\\) ?))|(\\\\(0[0-9 ]+?\\\\) ?)|( 0[0-9]+? ?( |-|\\/) ?))? ?[0-9]+?[0-9 \\/-]*[0-9]$')"
} ],
"mustSupport": true
}, {
"id": "Patient.gender",
"path": "Patient.gender",
"mustSupport": true
}, {
"id": "Patient.gender.extension:other-amtlich",
"max": "1",
"min": 0,
"path": "Patient.gender.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://fhir.de/StructureDefinition/gender-amtlich-de" ]
} ],
"sliceName": "other-amtlich",
"mustSupport": true
}, {
"id": "Patient.gender.extension:null-flavor",
"max": "1",
"min": 0,
"path": "Patient.gender.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/NullFlavor" ]
} ],
"sliceName": "null-flavor",
"mustSupport": true
}, {
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"short": "Geburtsdatum",
"constraint": [ {
"key": "validBirthDate",
"human": "Das Geburtsjahr muss mit 19 oder 20 beginnen.",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "warning",
"expression": "$this.toString().matches('^19[0-9]{2}-[0-9]{2}-[0-9]{2}|20[0-9]{2}-[0-9]{2}-[0-9]{2}|19[0-9]{2}-[0-9]{2}|20[0-9]{2}-[0-9]{2}|19[0-9]{2}|20[0-9]{2}$')"
} ],
"definition": "Geburtsdatum der betroffenen Person",
"mustSupport": true
}, {
"id": "Patient.deceased[x]",
"path": "Patient.deceased[x]",
"short": "Verstorben",
"definition": "Angabe ob die betroffene Person verstorben ist",
"mustSupport": true
}, {
"id": "Patient.address",
"path": "Patient.address",
"type": [ {
"code": "Address",
"profile": [ "http://fhir.de/StructureDefinition/address-de-basis" ]
} ],
"mustSupport": true
}, {
"id": "Patient.address.extension:Stadtteil",
"path": "Patient.address.extension",
"sliceName": "Stadtteil",
"mustSupport": true
}, {
"id": "Patient.address.extension:Stadtteil.value[x]",
"path": "Patient.address.extension.value[x]",
"constraint": [ {
"key": "validString",
"human": "Zeichenlänge maximal 255 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,255}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.address.extension:addressUse",
"max": "*",
"min": 0,
"path": "Patient.address.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://demis.rki.de/fhir/StructureDefinition/AddressUse" ]
} ],
"sliceName": "addressUse",
"mustSupport": true
}, {
"id": "Patient.address.extension:addressUse.extension",
"max": "0",
"path": "Patient.address.extension.extension"
}, {
"id": "Patient.address.extension:facilityAssociation",
"max": "*",
"min": 0,
"path": "Patient.address.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/FacilityAddressAffectedPerson" ]
} ],
"sliceName": "facilityAssociation",
"mustSupport": true
}, {
"id": "Patient.address.extension:geolocation",
"max": "*",
"min": 0,
"path": "Patient.address.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/geolocation" ]
} ],
"sliceName": "geolocation",
"mustSupport": true
}, {
"id": "Patient.address.extension:geolocation.extension",
"path": "Patient.address.extension.extension",
"mustSupport": true
}, {
"id": "Patient.address.extension:geolocation.extension:latitude",
"path": "Patient.address.extension.extension",
"sliceName": "latitude",
"mustSupport": true
}, {
"id": "Patient.address.extension:geolocation.extension:longitude",
"path": "Patient.address.extension.extension",
"sliceName": "longitude",
"mustSupport": true
}, {
"id": "Patient.address.extension:regionalKey",
"max": "1",
"min": 0,
"path": "Patient.address.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://emiga.rki.de/fhir/common/Extension/RegionalKey" ]
} ],
"sliceName": "regionalKey",
"mustSupport": true
}, {
"id": "Patient.address.extension:regionalKey.extension:regionKey",
"path": "Patient.address.extension.extension",
"sliceName": "regionKey",
"mustSupport": true
}, {
"id": "Patient.address.extension:regionalKey.extension:regionReferenceSystem",
"path": "Patient.address.extension.extension",
"sliceName": "regionReferenceSystem",
"mustSupport": true
}, {
"id": "Patient.address.use",
"max": "0",
"path": "Patient.address.use",
"comment": "Die Nutzung der Adresse wird über die Extension AddressUse abgebildet."
}, {
"id": "Patient.address.line.extension:Strasse",
"path": "Patient.address.line.extension",
"sliceName": "Strasse",
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Strasse.value[x]",
"path": "Patient.address.line.extension.value[x]",
"constraint": [ {
"key": "validString",
"human": "Zeichenlänge maximal 255 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,255}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Hausnummer",
"path": "Patient.address.line.extension",
"sliceName": "Hausnummer",
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Hausnummer.value[x]",
"path": "Patient.address.line.extension.value[x]",
"constraint": [ {
"key": "validHouseNumber",
"human": "Die Hausnummer muss valide sein. Zeichenlänge maximal 50 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,50}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Adresszusatz",
"path": "Patient.address.line.extension",
"sliceName": "Adresszusatz",
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Adresszusatz.value[x]",
"path": "Patient.address.line.extension.value[x]",
"constraint": [ {
"key": "validString",
"human": "Zeichenlänge maximal 255 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,255}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Postfach",
"path": "Patient.address.line.extension",
"sliceName": "Postfach",
"mustSupport": true
}, {
"id": "Patient.address.line.extension:Postfach.value[x]",
"path": "Patient.address.line.extension.value[x]",
"constraint": [ {
"key": "validString",
"human": "Zeichenlänge maximal 255 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,255}$')"
} ],
"mustSupport": true
}, {
"id": "Patient.address.city",
"path": "Patient.address.city",
"short": "Stadt",
"constraint": [ {
"key": "validString",
"human": "Zeichenlänge maximal 255 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,255}$')"
} ],
"definition": "Stadt",
"mustSupport": true
}, {
"id": "Patient.address.state",
"path": "Patient.address.state",
"mustSupport": true
}, {
"id": "Patient.address.postalCode",
"path": "Patient.address.postalCode",
"constraint": [ {
"key": "validPLZ",
"human": "Die PLZ muss valide sein. Zeichenlänge maximal 10 Zeichen",
"source": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
"severity": "error",
"expression": "$this.matches('^.{1,10}$')"
} ],
"definition": "Postleitzahl",
"mustSupport": true
}, {
"id": "Patient.address.country",
"path": "Patient.address.country",
"short": "Land",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-2"
},
"definition": "Land"
}, {
"id": "Patient.maritalStatus",
"max": "0",
"path": "Patient.maritalStatus"
}, {
"id": "Patient.multipleBirth[x]",
"max": "0",
"path": "Patient.multipleBirth[x]"
}, {
"id": "Patient.photo",
"max": "0",
"path": "Patient.photo"
}, {
"id": "Patient.communication",
"path": "Patient.communication",
"mustSupport": true
}, {
"id": "Patient.communication.language",
"path": "Patient.communication.language",
"short": "Sprachkentnisse",
"binding": {
"strength": "extensible",
"valueSet": "https://emiga.rki.de/fhir/common/ValueSet/CommonLanguages"
},
"definition": "Sprachkentnisse der betroffenen Person.",
"mustSupport": true
}, {
"id": "Patient.generalPractitioner",
"path": "Patient.generalPractitioner",
"short": "Behandelnde Person (Arzt/Ärztin)",
"definition": "Behandelnde Person der betroffenen Person.",
"mustSupport": true
}, {
"id": "Patient.managingOrganization",
"max": "0",
"path": "Patient.managingOrganization"
}, {
"id": "Patient.link",
"path": "Patient.link",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "other",
"type": "type"
} ]
},
"mustSupport": true
}, {
"id": "Patient.link:relatedPersonLink",
"max": "*",
"min": 0,
"path": "Patient.link",
"short": "Link zu einer Bezugsperson (RelatedPerson) Resource die den selben Person darstellt",
"sliceName": "relatedPersonLink",
"mustSupport": true
}, {
"id": "Patient.link:relatedPersonLink.other",
"path": "Patient.link.other",
"type": [ {
"code": "Reference",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
"valueBoolean": false
} ],
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
} ],
"mustSupport": true
}, {
"id": "Patient.link:relatedPersonLink.other.reference",
"path": "Patient.link.other.reference",
"mustSupport": true
}, {
"id": "Patient.link:relatedPersonLink.type",
"path": "Patient.link.type",
"fixedCode": "seealso",
"mustSupport": true
}, {
"id": "Patient.link:patientLink",
"max": "*",
"min": 0,
"path": "Patient.link",
"short": "Link zu einer betroffenen Person (Patient) Resource die den selben Person darstellt",
"sliceName": "patientLink",
"mustSupport": true
}, {
"id": "Patient.link:patientLink.other",
"path": "Patient.link.other",
"type": [ {
"code": "Reference",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
"valueBoolean": false
} ],
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
} ],
"mustSupport": true
}, {
"id": "Patient.link:patientLink.other.reference",
"path": "Patient.link.other.reference",
"mustSupport": true
}, {
"id": "Patient.link:patientLink.type",
"path": "Patient.link.type",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}