{
"description": "Profile for a medication proposal. Allows either a free-text proposal (medicationCodeableConcept.text) or a PZN-coded proposal via a contained Medication (medicationReference -> Mxx_HealthHub_Medication). When medicationReference is used, the contained Medication must contain at least one PZN coding.",
"_filename": "Mxx_HealthHub_MedicationRequest.StructureDefinition.json",
"package_name": "medatixx.healthhub",
"date": null,
"derivation": "constraint",
"publisher": "medatixx GmbH & Co. KG",
"fhirVersion": "4.0.1",
"name": "Mxx_HealthHub_MedicationRequest",
"abstract": false,
"copyright": "medatixx GmbH & Co. KG",
"type": "MedicationRequest",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.5.0",
"status": "active",
"id": "6638686c-7066-49b1-a012-0cfba1c6bb0e",
"kind": "resource",
"url": "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MedicationRequest",
"version": "1.5.0",
"differential": {
"element": [ {
"id": "MedicationRequest",
"path": "MedicationRequest",
"constraint": [ {
"key": "mr-pzn-required-if-ref",
"human": "Wenn medicationReference verwendet wird, muss die contained Medication mindestens einen PZN-Coding-Eintrag (system 'http://fhir.de/CodeSystem/ifa/pzn') enthalten.",
"severity": "error",
"expression": "(medicationReference.exists() implies contained.ofType(Medication).code.coding.where(system='http://fhir.de/CodeSystem/ifa/pzn').exists())"
} ]
}, {
"id": "MedicationRequest.contained",
"max": "1",
"path": "MedicationRequest.contained",
"short": "Contained Medication (nur PZN-Pfad)",
"definition": "Im PZN-Pfad genau eine contained Mxx_HealthHub_Medication, auf die medicationReference.reference per lokaler Fragment-Referenz (#id) zeigt. Im Freitext-Pfad bleibt contained leer."
}, {
"id": "MedicationRequest.identifier",
"max": "0",
"path": "MedicationRequest.identifier"
}, {
"id": "MedicationRequest.status",
"path": "MedicationRequest.status",
"fixedCode": "active"
}, {
"id": "MedicationRequest.statusReason",
"max": "0",
"path": "MedicationRequest.statusReason"
}, {
"id": "MedicationRequest.intent",
"path": "MedicationRequest.intent",
"fixedCode": "proposal"
}, {
"id": "MedicationRequest.category",
"max": "0",
"path": "MedicationRequest.category"
}, {
"id": "MedicationRequest.priority",
"max": "0",
"path": "MedicationRequest.priority"
}, {
"id": "MedicationRequest.doNotPerform",
"max": "0",
"path": "MedicationRequest.doNotPerform"
}, {
"id": "MedicationRequest.reported[x]",
"max": "0",
"path": "MedicationRequest.reported[x]"
}, {
"id": "MedicationRequest.medication[x]",
"path": "MedicationRequest.medication[x]",
"type": [ {
"code": "CodeableConcept"
}, {
"code": "Reference",
"targetProfile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Medication" ]
} ],
"slicing": {
"rules": "closed",
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
}
}, {
"id": "MedicationRequest.medication[x]:medicationCodeableConcept",
"path": "MedicationRequest.medication[x]",
"type": [ {
"code": "CodeableConcept"
} ],
"short": "Freitext-Vorschlag (ohne PZN)",
"sliceName": "medicationCodeableConcept"
}, {
"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding",
"max": "0",
"path": "MedicationRequest.medication[x].coding"
}, {
"id": "MedicationRequest.medication[x]:medicationCodeableConcept.text",
"min": 1,
"path": "MedicationRequest.medication[x].text"
}, {
"id": "MedicationRequest.medication[x]:medicationReference",
"path": "MedicationRequest.medication[x]",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Medication" ]
} ],
"short": "PZN-codierter Vorschlag (contained Medication)",
"sliceName": "medicationReference"
}, {
"id": "MedicationRequest.subject",
"path": "MedicationRequest.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient" ]
} ]
}, {
"id": "MedicationRequest.subject.type",
"max": "0",
"path": "MedicationRequest.subject.type"
}, {
"id": "MedicationRequest.subject.identifier",
"path": "MedicationRequest.subject.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_IntermediatePatientIdentifier" ]
} ],
"short": "An identifier intended for computation",
"definition": "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers."
}, {
"id": "MedicationRequest.subject.display",
"max": "0",
"path": "MedicationRequest.subject.display"
}, {
"id": "MedicationRequest.encounter",
"max": "0",
"path": "MedicationRequest.encounter"
}, {
"id": "MedicationRequest.supportingInformation",
"max": "0",
"path": "MedicationRequest.supportingInformation"
}, {
"id": "MedicationRequest.authoredOn",
"max": "0",
"path": "MedicationRequest.authoredOn"
}, {
"id": "MedicationRequest.requester",
"min": 1,
"path": "MedicationRequest.requester",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerSystem" ]
} ]
}, {
"id": "MedicationRequest.requester.type",
"max": "0",
"path": "MedicationRequest.requester.type"
}, {
"id": "MedicationRequest.requester.identifier",
"max": "0",
"path": "MedicationRequest.requester.identifier"
}, {
"id": "MedicationRequest.requester.display",
"max": "0",
"path": "MedicationRequest.requester.display"
}, {
"id": "MedicationRequest.performer",
"max": "0",
"path": "MedicationRequest.performer"
}, {
"id": "MedicationRequest.performerType",
"max": "0",
"path": "MedicationRequest.performerType"
}, {
"id": "MedicationRequest.recorder",
"max": "0",
"path": "MedicationRequest.recorder"
}, {
"id": "MedicationRequest.reasonCode",
"max": "1",
"path": "MedicationRequest.reasonCode"
}, {
"id": "MedicationRequest.reasonCode.coding",
"max": "0",
"path": "MedicationRequest.reasonCode.coding"
}, {
"id": "MedicationRequest.reasonCode.text",
"min": 1,
"path": "MedicationRequest.reasonCode.text"
}, {
"id": "MedicationRequest.reasonReference",
"max": "0",
"path": "MedicationRequest.reasonReference"
}, {
"id": "MedicationRequest.instantiatesCanonical",
"max": "0",
"path": "MedicationRequest.instantiatesCanonical"
}, {
"id": "MedicationRequest.instantiatesUri",
"max": "0",
"path": "MedicationRequest.instantiatesUri"
}, {
"id": "MedicationRequest.basedOn",
"max": "0",
"path": "MedicationRequest.basedOn"
}, {
"id": "MedicationRequest.groupIdentifier",
"path": "MedicationRequest.groupIdentifier",
"short": "Fachliche Rezeptzugehörigkeit (optional)",
"definition": "Fachliche Rezeptzugehörigkeit (optional). Möchte eine Partnersoftware mehrere Rezepte zu einem Patienten anfordern, so können diese über einen groupIdentifier zusammengefasst werden. Die Praxissoftware KANN die Rezeptanforderungen dann gruppiert anzeigen. Der Wert (groupIdentifier.value) ist eine UUID (z.B. system urn:ietf:rfc:3986 mit Wert urn:uuid:...); nicht konforme Werte werden abgelehnt."
}, {
"id": "MedicationRequest.courseOfTherapyType",
"max": "0",
"path": "MedicationRequest.courseOfTherapyType"
}, {
"id": "MedicationRequest.insurance",
"max": "0",
"path": "MedicationRequest.insurance"
}, {
"id": "MedicationRequest.note",
"max": "1",
"path": "MedicationRequest.note"
}, {
"id": "MedicationRequest.note.author[x]",
"max": "0",
"path": "MedicationRequest.note.author[x]"
}, {
"id": "MedicationRequest.note.time",
"max": "0",
"path": "MedicationRequest.note.time"
}, {
"id": "MedicationRequest.dosageInstruction",
"max": "0",
"path": "MedicationRequest.dosageInstruction"
}, {
"id": "MedicationRequest.dispenseRequest",
"max": "0",
"path": "MedicationRequest.dispenseRequest"
}, {
"id": "MedicationRequest.substitution",
"max": "0",
"path": "MedicationRequest.substitution"
}, {
"id": "MedicationRequest.priorPrescription",
"max": "0",
"path": "MedicationRequest.priorPrescription"
}, {
"id": "MedicationRequest.detectedIssue",
"max": "0",
"path": "MedicationRequest.detectedIssue"
}, {
"id": "MedicationRequest.eventHistory",
"max": "0",
"path": "MedicationRequest.eventHistory"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
}