description: MedicationRequest resource for use in NZ package_name: rs/fhir.org.nz.ig.base derivation: constraint name: NzMedicationRequest type: MedicationRequest elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: nzeps-long-term-medication: match: {url: null} schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication', index: 1} min: 0 max: 1 nzeps-supply-period-reason: match: {url: null} schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason', index: 2} min: 0 max: 1 nzeps-unusual-dose-quantity: match: {url: null} schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity', index: 3} min: 0 max: 1 medication: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 7 min: 0 max: 1 medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 8} min: 0 max: 1 package_version: 3.0.1 extensions: nzeps-long-term-medication: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication', min: 0, max: 1, type: Extension, index: 1} nzeps-supply-period-reason: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason', min: 0, max: 1, type: Extension, index: 2} nzeps-unusual-dose-quantity: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity', min: 0, max: 1, type: Extension, index: 3} class: profile kind: resource url: http://hl7.org.nz/fhir/StructureDefinition/NzMedicationRequest base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.0.0