description: Notification payload for patient-merged subscription events. Contains sourcePatientId (the patient that was deleted in the PVS) and targetPatientId (the patient that survives the merge). The partner should remap all local references from sourcePatientId to targetPatientId. package_name: medatixx.healthhub derivation: constraint name: Mxx_HealthHub_PatientMergedNotification type: Parameters elements: parameter: array: true min: 2 max: 2 index: 0 slicing: rules: closed discriminator: - {path: name, type: value} min: 2 max: 2 slices: sourcePatientId: match: {name: sourcePatientId} schema: _required: true index: 1 elements: name: pattern: {type: String, value: sourcePatientId} index: 2 value: choices: [valueId] index: 4 valueId: {type: id, choiceOf: value, index: 5} resource: {index: 6} part: {index: 7} required: [value, valueId] targetPatientId: match: {name: targetPatientId} schema: _required: true index: 8 elements: name: pattern: {type: String, value: targetPatientId} index: 9 value: choices: [valueId] index: 11 valueId: {type: id, choiceOf: value, index: 12} resource: {index: 13} part: {index: 14} required: [value, valueId] package_version: 1.5.0 class: profile kind: resource url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PatientMergedNotification base: http://hl7.org/fhir/StructureDefinition/Parameters version: 1.5.0