PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common@1.0.1
    https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonNotByName
{
  "description": "Profil zur Abbildung von nichtnamentlich gemeldeten Personen, z.B. im Zusammenhang mit Meldungen gemäß §7 Abs. 3 und 4 IfSG.",
  "_filename": "StructureDefinition-NotifiedPersonNotByName.json",
  "package_name": "rki.demis.common",
  "date": "2024-02-05",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "NotifiedPersonNotByName",
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Betroffene Person (nichtnamentlich)",
  "package_version": "1.0.1",
  "status": "draft",
  "id": "5de01a04-868c-4936-98c2-b87bd38e018f",
  "kind": "resource",
  "url": "https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonNotByName",
  "version": "1.2.0",
  "differential": {
    "element": [ {
      "id": "Patient.meta",
      "min": 1,
      "path": "Patient.meta",
      "mustSupport": true
    }, {
      "id": "Patient.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Patient.meta.profile",
      "mustSupport": true,
      "fixedCanonical": "https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonNotByName"
    }, {
      "id": "Patient.contained",
      "max": "0",
      "path": "Patient.contained"
    }, {
      "id": "Patient.identifier",
      "max": "0",
      "path": "Patient.identifier"
    }, {
      "id": "Patient.active",
      "max": "0",
      "path": "Patient.active"
    }, {
      "id": "Patient.name",
      "max": "0",
      "path": "Patient.name"
    }, {
      "id": "Patient.telecom",
      "max": "0",
      "path": "Patient.telecom"
    }, {
      "id": "Patient.gender",
      "path": "Patient.gender",
      "short": "Geschlecht",
      "definition": "Geschlecht der nichtnamentlichen betroffenen Person",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate",
      "path": "Patient.birthDate",
      "short": "Geburtsdatum",
      "constraint": [ {
        "key": "yearAndMonthOnlyBirthDate",
        "human": "Das Geburtsdatum darf lediglich Jahr und Monat der Geburt beinhalten. Das Geburtsjahr muss mit 19 oder 20 beginnen.",
        "severity": "error",
        "expression": "$this.toString().matches('^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 nichtnamentlichen betroffenen Person",
      "mustSupport": true
    }, {
      "id": "Patient.deceased[x]",
      "max": "0",
      "path": "Patient.deceased[x]"
    }, {
      "id": "Patient.address",
      "max": "3",
      "path": "Patient.address",
      "short": "Adresse",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "extension('https://demis.rki.de/fhir/StructureDefinition/AddressUse').value",
          "type": "value"
        } ]
      },
      "definition": "Adresse der nichtnamentlichen betroffenen Person",
      "mustSupport": true
    }, {
      "id": "Patient.address:hauptwohnung",
      "max": "1",
      "path": "Patient.address",
      "sliceName": "hauptwohnung"
    }, {
      "id": "Patient.address:hauptwohnung.extension",
      "min": 1,
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address:hauptwohnung.extension:addressUse",
      "max": "1",
      "min": 1,
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://demis.rki.de/fhir/StructureDefinition/AddressUse" ]
      } ],
      "sliceName": "addressUse",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "Patient.address:hauptwohnung.extension:addressUse.value[x]",
      "path": "Patient.address.extension.value[x]",
      "fixedCoding": {
        "code": "primary",
        "system": "https://demis.rki.de/fhir/CodeSystem/addressUse"
      },
      "mustSupport": true
    }, {
      "id": "Patient.address:hauptwohnung.use",
      "max": "0",
      "path": "Patient.address.use"
    }, {
      "id": "Patient.address:hauptwohnung.type",
      "max": "0",
      "path": "Patient.address.type"
    }, {
      "id": "Patient.address:hauptwohnung.text",
      "max": "0",
      "path": "Patient.address.text"
    }, {
      "id": "Patient.address:hauptwohnung.line",
      "max": "0",
      "path": "Patient.address.line"
    }, {
      "id": "Patient.address:hauptwohnung.city",
      "max": "0",
      "path": "Patient.address.city"
    }, {
      "id": "Patient.address:hauptwohnung.district",
      "max": "0",
      "path": "Patient.address.district"
    }, {
      "id": "Patient.address:hauptwohnung.state",
      "max": "0",
      "path": "Patient.address.state"
    }, {
      "id": "Patient.address:hauptwohnung.postalCode",
      "path": "Patient.address.postalCode",
      "constraint": [ {
        "key": "threeDigitPostalCode",
        "human": "Die 'verkürzte' Postleitzahl muss aus den ersten 3 Ziffern der 'normalen' Postleitzahl bestehen.",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]{3}$')"
      } ]
    }, {
      "id": "Patient.address:hauptwohnung.country",
      "max": "0",
      "path": "Patient.address.country"
    }, {
      "id": "Patient.address:hauptwohnung.period",
      "max": "0",
      "path": "Patient.address.period"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort",
      "max": "1",
      "path": "Patient.address",
      "sliceName": "gewoehnlicherAufenthaltsort"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.extension",
      "min": 1,
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.extension:addressUse",
      "max": "1",
      "min": 1,
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://demis.rki.de/fhir/StructureDefinition/AddressUse" ]
      } ],
      "sliceName": "addressUse",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.extension:addressUse.value[x]",
      "path": "Patient.address.extension.value[x]",
      "fixedCoding": {
        "code": "ordinary",
        "system": "https://demis.rki.de/fhir/CodeSystem/addressUse"
      },
      "mustSupport": true
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.use",
      "max": "0",
      "path": "Patient.address.use"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.type",
      "max": "0",
      "path": "Patient.address.type"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.text",
      "max": "0",
      "path": "Patient.address.text"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.line",
      "max": "0",
      "path": "Patient.address.line"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.city",
      "max": "0",
      "path": "Patient.address.city"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.district",
      "max": "0",
      "path": "Patient.address.district"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.state",
      "max": "0",
      "path": "Patient.address.state"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.postalCode",
      "path": "Patient.address.postalCode",
      "constraint": [ {
        "key": "threeDigitPostalCode",
        "human": "Die 'verkürzte' Postleitzahl muss aus den ersten 3 Ziffern der 'normalen' Postleitzahl bestehen.",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]{3}$')"
      } ]
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.country",
      "max": "0",
      "path": "Patient.address.country"
    }, {
      "id": "Patient.address:gewoehnlicherAufenthaltsort.period",
      "max": "0",
      "path": "Patient.address.period"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort",
      "max": "1",
      "path": "Patient.address",
      "sliceName": "derzeitigerAufenthaltsort"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.extension",
      "min": 1,
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.extension:addressUse",
      "max": "1",
      "min": 1,
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://demis.rki.de/fhir/StructureDefinition/AddressUse" ]
      } ],
      "sliceName": "addressUse",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.extension:addressUse.value[x]",
      "path": "Patient.address.extension.value[x]",
      "fixedCoding": {
        "code": "current",
        "system": "https://demis.rki.de/fhir/CodeSystem/addressUse"
      },
      "mustSupport": true
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.use",
      "max": "0",
      "path": "Patient.address.use"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.type",
      "max": "0",
      "path": "Patient.address.type"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.text",
      "max": "0",
      "path": "Patient.address.text"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.line",
      "max": "0",
      "path": "Patient.address.line"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.city",
      "max": "0",
      "path": "Patient.address.city"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.district",
      "max": "0",
      "path": "Patient.address.district"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.state",
      "max": "0",
      "path": "Patient.address.state"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.postalCode",
      "path": "Patient.address.postalCode",
      "constraint": [ {
        "key": "threeDigitPostalCode",
        "human": "Die 'verkürzte' Postleitzahl muss aus den ersten 3 Ziffern der 'normalen' Postleitzahl bestehen.",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]{3}$')"
      } ]
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.country",
      "max": "0",
      "path": "Patient.address.country"
    }, {
      "id": "Patient.address:derzeitigerAufenthaltsort.period",
      "max": "0",
      "path": "Patient.address.period"
    }, {
      "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"
    }, {
      "id": "Patient.link",
      "max": "0",
      "path": "Patient.link"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}