description: Total quantity remaining on a prescription after this dispense. package_name: ca.on.oh-dhdr derivation: constraint name: DispenseRemainingQuantity type: Extension elements: url: pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining'} index: 0 value: mustSupport: true choices: [valueQuantity] index: 2 valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 3} value[x]: elements: value: {mustSupport: true, index: 4} unit: {mustSupport: true, index: 5} system: {mustSupport: true, index: 6} code: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescribedquantityunit'} mustSupport: true index: 7 required: [value] package_version: 4.0.2-alpha1.0.1 class: extension kind: complex-type url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining base: http://hl7.org/fhir/StructureDefinition/Extension version: 3.0.0