{ "description": null, "_filename": "ext-total-prescribed-quantity.StructureDefinition.json", "package_name": "ForgePatientChart.0830", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "ExtTotalPrescribedQuantity", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": false, "type": "Extension", "experimental": null, "resourceType": "StructureDefinition", "title": "Ext-Total Prescribed Quantity", "package_version": "0.1.0", "status": "draft", "id": "38fdf2b7-c3e1-4b0f-a35f-964a2fd695a3", "kind": "complex-type", "url": "http://telus.com/fhir/patientChart/StructureDefinition/ext-medicationorder-total-quantity", "context": [ { "type": "element", "expression": "MedicationRequest.dispenseRequest" } ], "version": null, "differential": { "element": [ { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://telus.com/fhir/patientChart/StructureDefinition/ext-medicationorder-total-quantity" }, { "id": "Extension.value[x]", "path": "Extension.value[x]", "type": [ { "code": "Quantity" } ], "mustSupport": true }, { "id": "Extension.value[x].value", "path": "Extension.value[x].value", "mustSupport": true }, { "id": "Extension.value[x].unit", "path": "Extension.value[x].unit", "mustSupport": true }, { "id": "Extension.value[x].system", "path": "Extension.value[x].system", "mustSupport": true }, { "id": "Extension.value[x].code", "path": "Extension.value[x].code", "binding": { "strength": "preferred", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescribedquantityunit" }, "comment": "Conformance Rule: A Code must be supplied if one is available from the PrescribedQuantityUnit subset. If the user picks a prescribed quantity unit that does not have a code in the PrescribedQuantityUnit subset, only then can unit be supplied without a code. If a receiving system receives a code that it doesn't recognize, the system must just display the unit.\r\n\r\nThe preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", "mustSupport": true } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension" }