{
"description": "A derived profile of NLLProvenance. \\r\\nCan be used when creating a new Provenance in scenarios including Medication Dispense, both NLLMedicationDispense and NLLDispensePaperPrescription.",
"_filename": "NLLProvenanceMedicationDispense.StructureDefinition.json",
"package_name": "bonsai.poc.second.test",
"date": "2025-02-10",
"derivation": "constraint",
"publisher": "Swedish eHealth Agency",
"fhirVersion": "4.0.1",
"name": "NLLProvenanceMedicationDispense",
"mapping": [ {
"name": "E-hälsomyndigheten internal model",
"identity": "EHM"
} ],
"abstract": false,
"type": "Provenance",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.1.2",
"status": "active",
"id": "0350ceaa-21b9-42f5-9a53-ec5fc1019bc2",
"kind": "resource",
"url": "http://electronichealth.se/fhir/StructureDefinition/NLLProvenanceMedicationDispense",
"version": "1.0.2",
"differential": {
"element": [ {
"id": "Provenance.target",
"path": "Provenance.target",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationDispense", "http://electronichealth.se/fhir/StructureDefinition/NLLDispensePaperPrescription", "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest" ]
} ],
"short": "Target MedicationDispense",
"definition": "The MedicationDispense that was generated or updated by the activity described in this Provenance. If the state of a MedicationRequest is affected by the activity, that MedicationRequest will also be referenced."
}, {
"id": "Provenance.reason",
"path": "Provenance.reason",
"short": "Reason for the dispense activity",
"definition": "The reason that the activity was taking place. \r\nFor all scenarios regarding MedicationDispense, only the text element is allowed.\r\nMust only be used when updating (Uppdatera, Backa, Kreditera) a MedicationDispense not when creating (Registrera , Efterregistrera)."
}, {
"id": "Provenance.reason.coding",
"max": "0",
"path": "Provenance.reason.coding"
}, {
"id": "Provenance.reason.text",
"path": "Provenance.reason.text",
"comment": "Mandatory when crediting (sv kreditera) a dispense (both for ordinary dispenses using NLLMedicationDispense and dispenses for paper prescriptions using NLLDispensePaperPrescription).
\r\nOptional when cancelling (sv backa) or updating (sv uppdatera) a dispense. (Dispenses for paper prescriptions using NLLDispensePaperPrescriptioncannot be updated)
\r\nForbidden when registering (sv expediera) a MedicationDispense.
",
"definition": "Plain text representation of the reason that the activity was taking place. \r\nMust only be used when updating (Uppdatera, Backa, Kreditera) a MedicationDispense not when creating (Registrera , Efterregistrera)."
}, {
"id": "Provenance.activity",
"path": "Provenance.activity",
"binding": {
"strength": "required",
"valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/medication-dispense-activity-types"
},
"definition": "This type describes the activity that occurred on the Medication Dispense.\r\nFor dispense based on paper prescriptions the only valid activities are Expdiera, Kreditera and Backa uttag (valueset: medication-dispense-paper-prescription-activity-types)"
}, {
"id": "Provenance.agent",
"path": "Provenance.agent",
"short": "Practitioner involved for the MedicationDispense"
}, {
"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"
}