description: Indicates the amount of medication to supply per dispense. package_name: rs/nhsdigital.fhir.stu3 derivation: constraint name: Extension-CareConnect-GPC-MedicationStatementQuantity-1 type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: quantity: match: {url: quantity} schema: short: Amount of medication to supply per dispense _required: true index: 1 elements: url: pattern: {type: uri, value: quantity} type: uri index: 2 valueQuantity: type: Quantity short: Amount of medication to supply per dispense index: 3 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, short: Amount of medication to supply per dispense, _required: true, index: 3} min: 1 required: [valueQuantity] quantityText: match: {url: quantityText} schema: short: Quantity representation _required: true index: 4 elements: url: pattern: {type: uri, value: quantityText} type: uri index: 5 valueString: type: string short: Quantity representation index: 6 slicing: slices: valueString: match: {} schema: {type: string, short: Quantity representation, _required: true, index: 6} min: 1 required: [valueString] url: pattern: {type: uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationStatementQuantity-1'} type: uri index: 7 value: choices: [] index: 9 package_version: 1.2.0 extensions: quantity: url: quantity short: Amount of medication to supply per dispense _required: true index: 1 elements: url: pattern: {type: uri, value: quantity} type: uri index: 2 valueQuantity: type: Quantity short: Amount of medication to supply per dispense index: 3 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, short: Amount of medication to supply per dispense, _required: true, index: 3} min: 1 required: [valueQuantity] quantityText: url: quantityText short: Quantity representation _required: true index: 4 elements: url: pattern: {type: uri, value: quantityText} type: uri index: 5 valueString: type: string short: Quantity representation index: 6 slicing: slices: valueString: match: {} schema: {type: string, short: Quantity representation, _required: true, index: 6} min: 1 required: [valueString] class: extension kind: complex-type url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationStatementQuantity-1 base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0