PackagesCanonicalsLogsProblems
    Packages
    rki.emiga.case@0.1.0
    https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson
{
  "description": "Die betroffene Person enthält relevante Angaben zum Patienten",
  "_filename": "StructureDefinition-AffectedPerson.json",
  "package_name": "rki.emiga.case",
  "date": "2025-04-09",
  "derivation": "constraint",
  "publisher": "Robert Koch-Institut",
  "fhirVersion": "4.0.1",
  "name": "AffectedPerson",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://loinc.org",
    "name": "LOINC code for the element",
    "identity": "loinc"
  } ],
  "abstract": false,
  "type": "Patient",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Betroffene Person",
  "package_version": "0.1.0",
  "status": "active",
  "id": "74b1351b-e937-40ae-9fa5-5b17fc3e3d28",
  "kind": "resource",
  "url": "https://emiga.rki.de/fhir/common/StructureDefinition/AffectedPerson",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "Patient.meta",
      "path": "Patient.meta",
      "mustSupport": true
    }, {
      "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|0.1.0"
    }, {
      "id": "Patient.implicitRules",
      "max": "0",
      "path": "Patient.implicitRules"
    }, {
      "id": "Patient.extension",
      "path": "Patient.extension",
      "mustSupport": true
    }, {
      "id": "Patient.extension:staatsangehoerigkeit",
      "max": "2",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-citizenship" ]
      } ],
      "sliceName": "staatsangehoerigkeit"
    }, {
      "id": "Patient.extension:geburtsort",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" ]
      } ],
      "sliceName": "geburtsort"
    }, {
      "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:referencenumberpatientid",
      "max": "1",
      "min": 1,
      "path": "Patient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "https://emiga.rki.de/fhir/fall/StructureDefinition/IdentifierReferenceNumberPatientId" ]
      } ],
      "sliceName": "referencenumberpatientid",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:referencenumberpatientid.use",
      "path": "Patient.identifier.use",
      "fixedCode": "official",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:filenumberpatientid",
      "max": "1",
      "min": 1,
      "path": "Patient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "https://emiga.rki.de/fhir/fall/StructureDefinition/IdentifierFileNumberPatientId" ]
      } ],
      "sliceName": "filenumberpatientid",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:filenumberpatientid.use",
      "path": "Patient.identifier.use",
      "fixedCode": "secondary",
      "mustSupport": true
    }, {
      "id": "Patient.name",
      "max": "1",
      "path": "Patient.name",
      "type": [ {
        "code": "HumanName",
        "profile": [ "http://fhir.de/StructureDefinition/humanname-de-basis" ]
      } ],
      "short": "Name",
      "definition": "Name der betroffenen Person.",
      "mustSupport": true
    }, {
      "id": "Patient.name.extension",
      "min": 1,
      "path": "Patient.name.extension"
    }, {
      "id": "Patient.name.extension:salutation",
      "max": "1",
      "min": 1,
      "path": "Patient.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://emiga.rki.de/fhir/fall/StructureDefinition/Salutation" ]
      } ],
      "sliceName": "salutation",
      "mustSupport": true
    }, {
      "id": "Patient.name.family",
      "path": "Patient.name.family",
      "short": "Nachname",
      "definition": "Nachname der betroffenen Person.",
      "mustSupport": true
    }, {
      "id": "Patient.name.given",
      "max": "1",
      "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 Organisation. 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:data-absent-reason",
      "max": "1",
      "min": 0,
      "path": "Patient.gender.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "data-absent-reason",
      "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]",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "max": "1",
      "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.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.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.contact",
      "max": "0",
      "path": "Patient.contact"
    }, {
      "id": "Patient.communication",
      "max": "0",
      "path": "Patient.communication"
    }, {
      "id": "Patient.generalPractitioner",
      "max": "0",
      "path": "Patient.generalPractitioner"
    }, {
      "id": "Patient.managingOrganization",
      "max": "0",
      "path": "Patient.managingOrganization"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}