PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.fall@2024.0.0
    https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
{
  "description": null,
  "_filename": "StructureDefinition-mii-pr-fall-kontakt-gesundheitseinrichtung.json",
  "package_name": "de.medizininformatikinitiative.kerndatensatz.fall",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "MII_PR_Fall_KontaktGesundheitseinrichtung",
  "abstract": false,
  "type": "Encounter",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "MII PR Fall Kontakt mit einer Gesundheitseinrichtung",
  "package_version": "2024.0.0",
  "status": "active",
  "id": "cba70e16-db2a-49a2-972f-a53eb8da7af8",
  "kind": "resource",
  "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
  "version": "2024.0.0-ballot",
  "differential": {
    "element": [ {
      "id": "Encounter",
      "path": "Encounter",
      "constraint": [ {
        "key": "mii-enc-1",
        "human": "Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "error",
        "expression": "status = 'finished' implies period.end.exists()"
      }, {
        "key": "mii-enc-2",
        "human": "Abgeschlossene, stationäre Kontakte MÜSSEN einen Start- und End-Zeitpunkt angeben",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "error",
        "expression": "status = 'finished' and class = 'IMP' implies period.start.exists() and period.end.exists()"
      }, {
        "key": "mii-enc-3",
        "human": "Geplante Kontakte DÜRFEN NICHT einen Start- oder End-Zeitpunkt angeben",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "error",
        "expression": "status = 'planned' implies period.exists().not()"
      }, {
        "key": "mii-enc-5",
        "human": "In-Durchführung befindliche Kontakte MÜSSEN einen Start-Zeitpunkt angeben",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "error",
        "expression": "status = 'in-progress' implies period.start.exists()"
      }, {
        "key": "mii-enc-6",
        "human": "Kontakte mit Abwesenheitsstatus MÜSSEN einen Start-Zeitpunkt angeben",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "error",
        "expression": "status = 'onleave' implies period.start.exists()"
      }, {
        "key": "mii-enc-7",
        "human": "Kontakte mit unbekannten Status SOLLTEN einen Start-Zeitpunkt angeben",
        "source": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung",
        "severity": "warning",
        "expression": "status = 'unknown' implies period.start.exists()"
      } ]
    }, {
      "id": "Encounter.id",
      "path": "Encounter.id",
      "mustSupport": true
    }, {
      "id": "Encounter.meta",
      "path": "Encounter.meta",
      "mustSupport": true
    }, {
      "id": "Encounter.meta.source",
      "path": "Encounter.meta.source",
      "mustSupport": true
    }, {
      "id": "Encounter.meta.profile",
      "path": "Encounter.meta.profile",
      "mustSupport": true
    }, {
      "id": "Encounter.extension:Aufnahmegrund",
      "max": "1",
      "min": 0,
      "path": "Encounter.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.de/StructureDefinition/Aufnahmegrund" ]
      } ],
      "sliceName": "Aufnahmegrund",
      "mustSupport": true
    }, {
      "id": "Encounter.extension:Aufnahmegrund.extension:ErsteUndZweiteStelle",
      "path": "Encounter.extension.extension",
      "sliceName": "ErsteUndZweiteStelle",
      "mustSupport": true
    }, {
      "id": "Encounter.extension:Aufnahmegrund.extension:DritteStelle",
      "path": "Encounter.extension.extension",
      "sliceName": "DritteStelle",
      "mustSupport": true
    }, {
      "id": "Encounter.extension:Aufnahmegrund.extension:VierteStelle",
      "path": "Encounter.extension.extension",
      "sliceName": "VierteStelle",
      "mustSupport": true
    }, {
      "id": "Encounter.identifier",
      "path": "Encounter.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Encounter.identifier:Aufnahmenummer",
      "max": "1",
      "min": 0,
      "path": "Encounter.identifier",
      "sliceName": "Aufnahmenummer",
      "mustSupport": true,
      "patternIdentifier": {
        "type": {
          "coding": [ {
            "code": "VN",
            "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
          } ]
        }
      }
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.type",
      "min": 1,
      "path": "Encounter.identifier.type",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/identifier-type-codes"
      },
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "VN",
          "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
        } ]
      }
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.type.coding",
      "min": 1,
      "path": "Encounter.identifier.type.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type",
      "max": "1",
      "min": 1,
      "path": "Encounter.identifier.type.coding",
      "sliceName": "vn-type",
      "mustSupport": true,
      "patternCoding": {
        "code": "VN",
        "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
      }
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type.system",
      "min": 1,
      "path": "Encounter.identifier.type.coding.system",
      "mustSupport": true
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type.code",
      "min": 1,
      "path": "Encounter.identifier.type.coding.code",
      "mustSupport": true
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.system",
      "min": 1,
      "path": "Encounter.identifier.system",
      "mustSupport": true
    }, {
      "id": "Encounter.identifier:Aufnahmenummer.value",
      "min": 1,
      "path": "Encounter.identifier.value",
      "mustSupport": true
    }, {
      "id": "Encounter.status",
      "path": "Encounter.status",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/EncounterStatusDe"
      },
      "mustSupport": true
    }, {
      "id": "Encounter.class",
      "path": "Encounter.class",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/EncounterClassDE"
      },
      "mustSupport": true
    }, {
      "id": "Encounter.type",
      "path": "Encounter.type",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Encounter.type:Kontaktebene",
      "max": "1",
      "min": 0,
      "path": "Encounter.type",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/kontaktebene-de",
        "description": "Kontaktebene"
      },
      "sliceName": "Kontaktebene",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "system": "http://fhir.de/CodeSystem/Kontaktebene"
        } ]
      }
    }, {
      "id": "Encounter.type:KontaktArt",
      "max": "1",
      "min": 0,
      "path": "Encounter.type",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/kontaktart-de"
      },
      "sliceName": "KontaktArt",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "system": "http://fhir.de/CodeSystem/kontaktart-de"
        } ]
      }
    }, {
      "id": "Encounter.serviceType",
      "path": "Encounter.serviceType",
      "mustSupport": true
    }, {
      "id": "Encounter.serviceType.coding",
      "path": "Encounter.serviceType.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Encounter.serviceType.coding:Fachabteilungsschluessel",
      "max": "1",
      "min": 0,
      "path": "Encounter.serviceType.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel"
      },
      "sliceName": "Fachabteilungsschluessel",
      "mustSupport": true,
      "patternCoding": {
        "system": "http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel"
      }
    }, {
      "id": "Encounter.serviceType.coding:Fachabteilungsschluessel.system",
      "min": 1,
      "path": "Encounter.serviceType.coding.system",
      "mustSupport": true
    }, {
      "id": "Encounter.serviceType.coding:Fachabteilungsschluessel.code",
      "min": 1,
      "path": "Encounter.serviceType.coding.code",
      "mustSupport": true
    }, {
      "id": "Encounter.serviceType.coding:ErweiterterFachabteilungsschluessel",
      "max": "1",
      "min": 0,
      "path": "Encounter.serviceType.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel"
      },
      "sliceName": "ErweiterterFachabteilungsschluessel",
      "mustSupport": true,
      "patternCoding": {
        "system": "http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert"
      }
    }, {
      "id": "Encounter.serviceType.coding:ErweiterterFachabteilungsschluessel.system",
      "min": 1,
      "path": "Encounter.serviceType.coding.system",
      "mustSupport": true
    }, {
      "id": "Encounter.serviceType.coding:ErweiterterFachabteilungsschluessel.code",
      "min": 1,
      "path": "Encounter.serviceType.coding.code",
      "mustSupport": true
    }, {
      "id": "Encounter.subject",
      "min": 1,
      "path": "Encounter.subject",
      "mustSupport": true
    }, {
      "id": "Encounter.period",
      "min": 1,
      "path": "Encounter.period",
      "mustSupport": true
    }, {
      "id": "Encounter.period.start",
      "min": 1,
      "path": "Encounter.period.start",
      "mustSupport": true
    }, {
      "id": "Encounter.period.end",
      "path": "Encounter.period.end",
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis",
      "path": "Encounter.diagnosis",
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.condition",
      "path": "Encounter.diagnosis.condition",
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.use",
      "min": 1,
      "path": "Encounter.diagnosis.use",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/diagnosis-role",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DiagnosisRole"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "The type of diagnosis this condition represents."
      },
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.use.coding",
      "min": 1,
      "path": "Encounter.diagnosis.use.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.use.coding:Diagnosetyp",
      "max": "1",
      "min": 0,
      "path": "Encounter.diagnosis.use.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/DiagnoseTyp"
      },
      "sliceName": "Diagnosetyp",
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.use.coding:DiagnosesubTyp",
      "max": "1",
      "min": 0,
      "path": "Encounter.diagnosis.use.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/Diagnosesubtyp"
      },
      "sliceName": "DiagnosesubTyp",
      "mustSupport": true
    }, {
      "id": "Encounter.diagnosis.rank",
      "path": "Encounter.diagnosis.rank",
      "mustSupport": true
    }, {
      "id": "Encounter.hospitalization",
      "path": "Encounter.hospitalization",
      "mustSupport": true
    }, {
      "id": "Encounter.hospitalization.admitSource",
      "min": 1,
      "path": "Encounter.hospitalization.admitSource",
      "binding": {
        "strength": "preferred",
        "valueSet": "http://fhir.de/ValueSet/dgkev/Aufnahmeanlass"
      },
      "mustSupport": true
    }, {
      "id": "Encounter.hospitalization.dischargeDisposition",
      "path": "Encounter.hospitalization.dischargeDisposition",
      "mustSupport": true
    }, {
      "id": "Encounter.hospitalization.dischargeDisposition.extension:Entlassungsgrund",
      "max": "1",
      "min": 0,
      "path": "Encounter.hospitalization.dischargeDisposition.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.de/StructureDefinition/Entlassungsgrund" ]
      } ],
      "sliceName": "Entlassungsgrund",
      "mustSupport": true
    }, {
      "id": "Encounter.location",
      "path": "Encounter.location",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "physicalType",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Encounter.location.physicalType",
      "path": "Encounter.location.physicalType",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/location-physical-type"
      }
    }, {
      "id": "Encounter.location:Zimmer",
      "max": "1",
      "min": 0,
      "path": "Encounter.location",
      "sliceName": "Zimmer",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Zimmer.location",
      "path": "Encounter.location.location",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Zimmer.location.identifier",
      "min": 1,
      "path": "Encounter.location.location.identifier",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Zimmer.location.display",
      "min": 1,
      "path": "Encounter.location.location.display",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Zimmer.physicalType",
      "min": 1,
      "path": "Encounter.location.physicalType",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "ro",
          "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
        } ]
      }
    }, {
      "id": "Encounter.location:Bett",
      "max": "1",
      "min": 0,
      "path": "Encounter.location",
      "sliceName": "Bett",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Bett.location",
      "path": "Encounter.location.location",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Bett.location.identifier",
      "min": 1,
      "path": "Encounter.location.location.identifier",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Bett.location.display",
      "min": 1,
      "path": "Encounter.location.location.display",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Bett.physicalType",
      "min": 1,
      "path": "Encounter.location.physicalType",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "bd",
          "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
        } ]
      }
    }, {
      "id": "Encounter.location:Station",
      "max": "1",
      "min": 0,
      "path": "Encounter.location",
      "sliceName": "Station",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Station.location",
      "path": "Encounter.location.location",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Station.location.identifier",
      "min": 1,
      "path": "Encounter.location.location.identifier",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Station.location.display",
      "min": 1,
      "path": "Encounter.location.location.display",
      "mustSupport": true
    }, {
      "id": "Encounter.location:Station.physicalType",
      "min": 1,
      "path": "Encounter.location.physicalType",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "wa",
          "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
        } ]
      }
    }, {
      "id": "Encounter.serviceProvider",
      "path": "Encounter.serviceProvider",
      "mustSupport": true
    }, {
      "id": "Encounter.partOf",
      "path": "Encounter.partOf",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter"
}