PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.person@2024.0.0-ballot
    https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert
{
  "description": "Dieses Profil beschreibt eine pseudonymisierte Patient*in in der Medizininformatik-Initiative.",
  "_filename": "StructureDefinition-mii-pr-person-patient-pseudonymisiert.json",
  "package_name": "de.medizininformatikinitiative.kerndatensatz.person",
  "date": null,
  "derivation": "constraint",
  "publisher": "Medizininformatik Initiative",
  "fhirVersion": "4.0.1",
  "name": "MII_PR_Person_PatientPseudonymisiert",
  "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": null,
  "resourceType": "StructureDefinition",
  "title": "MII PR Person Patient (Pseudonymisiert)",
  "package_version": "2024.0.0-ballot",
  "status": "active",
  "id": "3428c295-de71-441c-b2c7-37379c387043",
  "kind": "resource",
  "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert",
  "version": "2024.0.0-ballot",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "constraint": [ {
        "key": "mii-pat-1",
        "human": "Falls die Geschlechtsangabe 'other' gewählt wird, muss die amtliche Differenzierung per Extension angegeben werden",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert",
        "severity": "error",
        "expression": "gender.exists() and gender='other' implies gender.extension('http://fhir.de/StructureDefinition/gender-amtlich-de').exists()"
      } ]
    }, {
      "id": "Patient.id",
      "path": "Patient.id",
      "mustSupport": true
    }, {
      "id": "Patient.meta",
      "path": "Patient.meta",
      "mustSupport": true
    }, {
      "id": "Patient.meta.source",
      "path": "Patient.meta.source",
      "mustSupport": true
    }, {
      "id": "Patient.meta.profile",
      "path": "Patient.meta.profile",
      "mustSupport": true
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.identifier:PseudonymisierterIdentifier",
      "max": "*",
      "min": 0,
      "path": "Patient.identifier",
      "sliceName": "PseudonymisierterIdentifier",
      "mustSupport": true,
      "patternIdentifier": {
        "type": {
          "coding": [ {
            "code": "PSEUDED",
            "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationValue"
          } ]
        }
      }
    }, {
      "id": "Patient.identifier:AnonymisierterIdentifier",
      "max": "*",
      "min": 0,
      "path": "Patient.identifier",
      "sliceName": "AnonymisierterIdentifier",
      "mustSupport": true,
      "patternIdentifier": {
        "type": {
          "coding": [ {
            "code": "ANONYED",
            "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationValue"
          } ]
        }
      }
    }, {
      "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.birthDate",
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.deceased[x]",
      "path": "Patient.deceased[x]",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.deceased[x]:deceasedDateTime",
      "max": "1",
      "min": 0,
      "path": "Patient.deceased[x]",
      "type": [ {
        "code": "dateTime"
      } ],
      "sliceName": "deceasedDateTime",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "pat-cnt-2or3-char",
        "human": "The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert",
        "severity": "warning",
        "expression": "country.empty() or (country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2') or country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))"
      } ],
      "path": "Patient.address",
      "min": 0,
      "type": [ {
        "code": "Address",
        "profile": [ "http://fhir.de/StructureDefinition/address-de-basis" ]
      } ],
      "mustSupport": true,
      "sliceName": "Strassenanschrift",
      "max": "*",
      "id": "Patient.address:Strassenanschrift",
      "patternAddress": {
        "type": "both"
      }
    }, {
      "id": "Patient.address:Strassenanschrift.type",
      "min": 1,
      "path": "Patient.address.type",
      "mustSupport": true
    }, {
      "id": "Patient.address:Strassenanschrift.city.extension:gemeindeschluessel",
      "max": "1",
      "min": 0,
      "path": "Patient.address.city.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.de/StructureDefinition/destatis/ags" ]
      } ],
      "sliceName": "gemeindeschluessel",
      "mustSupport": true
    }, {
      "id": "Patient.address:Strassenanschrift.postalCode",
      "min": 1,
      "path": "Patient.address.postalCode",
      "mustSupport": true
    }, {
      "id": "Patient.address:Strassenanschrift.country",
      "min": 1,
      "path": "Patient.address.country",
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "pat-cnt-2or3-char",
        "human": "The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert",
        "severity": "warning",
        "expression": "country.empty() or (country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2') or country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))"
      } ],
      "path": "Patient.address",
      "min": 0,
      "type": [ {
        "code": "Address",
        "profile": [ "http://fhir.de/StructureDefinition/address-de-basis" ]
      } ],
      "mustSupport": true,
      "sliceName": "Postfach",
      "max": "*",
      "id": "Patient.address:Postfach",
      "patternAddress": {
        "type": "postal"
      }
    }, {
      "id": "Patient.address:Postfach.type",
      "min": 1,
      "path": "Patient.address.type",
      "mustSupport": true
    }, {
      "id": "Patient.address:Postfach.city.extension:gemeindeschluessel",
      "max": "1",
      "min": 0,
      "path": "Patient.address.city.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.de/StructureDefinition/destatis/ags" ]
      } ],
      "sliceName": "gemeindeschluessel",
      "mustSupport": true
    }, {
      "id": "Patient.address:Postfach.postalCode",
      "min": 1,
      "path": "Patient.address.postalCode",
      "mustSupport": true
    }, {
      "id": "Patient.address:Postfach.country",
      "min": 1,
      "path": "Patient.address.country",
      "mustSupport": true
    }, {
      "id": "Patient.link",
      "path": "Patient.link",
      "mustSupport": true
    }, {
      "id": "Patient.link.other",
      "path": "Patient.link.other",
      "type": [ {
        "code": "Reference",
        "profile": [ "https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/MII-Reference" ],
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": false
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.link.type",
      "path": "Patient.link.type",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "https://www.medizininformatik-initiative.de",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}