{ "description": "A derived profile of NLLProvenance. \\r\\nUsed when creating a new Provenance when a prescription is cancelled (sv makulera).", "_filename": "NLLProvenanceMedicationRequestCancelled.StructureDefinition.json", "package_name": "poc.bonsai.current.rc", "date": "2025-04-24", "derivation": "constraint", "publisher": "Swedish eHealth Agency", "fhirVersion": "4.0.1", "name": "NLLProvenanceMedicationRequestCancelled", "mapping": [ { "name": "E-hälsomyndigheten internal model", "identity": "EHM" } ], "abstract": false, "type": "Provenance", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "1.2.0-rc1", "status": "active", "id": "dce4156a-5ace-40d6-841b-a63f2a5a145f", "kind": "resource", "url": "http://electronichealth.se/fhir/StructureDefinition/NLLProvenanceMedicationRequestCancelled", "version": "1.1.0", "differential": { "element": [ { "id": "Provenance.target", "path": "Provenance.target", "type": [ { "code": "Reference", "targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest" ] } ], "short": "Target MedicationRequest", "definition": "The MedicationRequest that was generated or updated by the activity described in this Provenance." }, { "id": "Provenance.reason", "min": 1, "path": "Provenance.reason", "short": "The reason why the prescription was cancelled", "binding": { "strength": "required", "valueSet": "http://electronichealth.se/fhir/ValueSet/nll-reason-for-cancellation" }, "definition": "The reason why the prescription was cancelled (sv Makulera). Only codes from the value set nll-reason-for-cancellation are allowed." }, { "id": "Provenance.reason.coding", "min": 1, "path": "Provenance.reason.coding" }, { "id": "Provenance.reason.text", "path": "Provenance.reason.text", "definition": "Plain text representation of the reason that the activity was taking place. \r\nMandatory when the code \"OTH\" (other) is used.\r\nCan be used for adding optional information about the reason." }, { "id": "Provenance.activity", "path": "Provenance.activity", "short": "Activity that occurred on the MedicationRequest", "binding": { "strength": "required", "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/medication-request-activity-types" }, "definition": "Describes the activity that occurred on a MedicationRequest. This profile supports the scenario for cancelleing (sv makulera) a prescription, MAKULERA_FORSKRIVNING" }, { "id": "Provenance.agent", "path": "Provenance.agent", "short": "Practitioner involved for the MedicationRequest" }, { "id": "Provenance.agent.who", "path": "Provenance.agent.who", "type": [ { "code": "Reference", "aggregation": [ "contained" ], "targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner" ] } ], "definition": "The practitioners that participated in the event as contained resources." } ] }, "baseDefinition": "http://electronichealth.se/fhir/StructureDefinition/NLLProvenance" }