description: Diagnose (ICD-10-GM), die als Behandlungsanlass (reason) eines eMP-MedicationRequest dient. Die Ressource wird als eigenständige Condition geführt und über MedicationRequest.reasonReference referenziert; sie ist über die Query API abrufbar und in den eMP-Einstell-Operationen explizit einstellbar. Sie folgt den Vorgaben der Deutschen Basisprofile für die ICD-10-GM-Kodierung von Diagnosen (Condition). Da die Deutschen Basisprofile kein Condition-Profil herausgeben, wird die Kodierung hier use-case-spezifisch festgelegt. package_name: de.gematik.epa derivation: constraint name: EMPReasonCondition type: Condition elements: onset: choices: [] index: 24 slicing: slices: onsetDateTime: match: {} schema: choices: [onsetDateTime] index: 26 max: 0 category: {index: 10} stage: {index: 36} encounter: {index: 22} evidence: {index: 37} abatement: choices: [] index: 29 slicing: slices: abatementDateTime: match: {} schema: choices: [abatementDateTime] index: 31 max: 0 asserter: {index: 35} note: {index: 38} extension: short: Verweis von der Sekundär- auf die assoziierte Primärdiagnose type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/condition-related index: 0 slicing: slices: related: match: {} schema: short: Verweis von der Sekundär- auf die assoziierte Primärdiagnose type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/condition-related index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition'] index: 3 value[x]: elements: reference: {mustSupport: true, index: 4} identifier: mustSupport: true index: 5 elements: system: {mustSupport: true, index: 6} value: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} recordedDate: {index: 33} recorder: {index: 34} severity: {index: 11} code: elements: coding: index: 12 slicing: slices: ICD-10-GM: match: {} schema: index: 12 extensions: Diagnosesicherheit: url: null index: 13 elements: value: constraint: emp-icd-4: {human: 'Diagnosesicherheit ''A'' (ausgeschlossen): verificationStatus muss ''refuted'' sein und clinicalStatus leer.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())} emp-icd-5: {human: 'Diagnosesicherheit ''G'' (gesicherte Diagnose): clinicalStatus muss ''active'' und verificationStatus ''confirmed'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())} emp-icd-6: {human: 'Diagnosesicherheit ''V'' (Verdacht auf / zum Ausschluss von): clinicalStatus muss ''active'' und verificationStatus ''provisional'' oder ''differential'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))} emp-icd-7: {human: 'Diagnosesicherheit ''Z'' (Zustand nach): clinicalStatus muss ''resolved'' und verificationStatus ''confirmed'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())} choices: [] index: 15 elements: extension: index: 13 slicing: slices: Diagnosesicherheit: match: {} schema: index: 13 elements: value: constraint: emp-icd-4: {human: 'Diagnosesicherheit ''A'' (ausgeschlossen): verificationStatus muss ''refuted'' sein und clinicalStatus leer.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())} emp-icd-5: {human: 'Diagnosesicherheit ''G'' (gesicherte Diagnose): clinicalStatus muss ''active'' und verificationStatus ''confirmed'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())} emp-icd-6: {human: 'Diagnosesicherheit ''V'' (Verdacht auf / zum Ausschluss von): clinicalStatus muss ''active'' und verificationStatus ''provisional'' oder ''differential'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))} emp-icd-7: {human: 'Diagnosesicherheit ''Z'' (Zustand nach): clinicalStatus muss ''resolved'' und verificationStatus ''confirmed'' sein.', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition', severity: error, expression: code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())} choices: [] index: 15 display: {index: 16} required: [display] alphaId: match: {} schema: {index: 17} max: 0 snomed: match: {} schema: {index: 18} max: 0 orphanet: match: {} schema: {index: 19} max: 0 identifier: {index: 9} onsetDateTime: type: dateTime choiceOf: onset index: 27 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, choiceOf: onset, index: 27} max: 0 bodySite: {index: 20} abatementDateTime: type: dateTime choiceOf: abatement index: 32 slicing: slices: abatementDateTime: match: {} schema: {type: dateTime, choiceOf: abatement, index: 32} max: 0 subject: elements: identifier: {type: Identifier, index: 21} required: [identifier] package_version: 1.4.0-ballot.1 extensions: related: url: http://hl7.org/fhir/StructureDefinition/condition-related short: Verweis von der Sekundär- auf die assoziierte Primärdiagnose type: Extension mustSupport: true index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition'] index: 3 value[x]: elements: reference: {mustSupport: true, index: 4} identifier: mustSupport: true index: 5 elements: system: {mustSupport: true, index: 6} value: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-reason-condition base: https://gematik.de/fhir/ti/StructureDefinition/ti-condition-diagnosis version: 1.4.0