description: Definition of the dosage (used in MedicationStatement / MedicationDispense) package_name: ch.fhir.ig.ch-emed derivation: constraint name: CHEMEDDosage type: Dosage elements: sequence: constraint: ch-dosage-1: {human: No sequence number (for one dosage element) or sequence number = 1 (for more than one dosage element), source: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage', severity: error, expression: $this.count() = 0 or $this = 1} index: 0 patientInstruction: {short: 'Patient instructions (e.g. ''take with food''), incl. free text dosage instructions (e.g. for complex dosage)', mustSupport: true, index: 1} timing: elements: repeat: elements: bounds: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: boundsPeriod: match: {} schema: short: Start and/or end of treatment mustSupport: true choices: [boundsPeriod] index: 5 min: 0 max: 1 boundsPeriod: short: Start and/or end of treatment type: Period mustSupport: true choiceOf: bounds index: 6 slicing: slices: boundsPeriod: match: {} schema: {short: Start and/or end of treatment, type: Period, mustSupport: true, choiceOf: bounds, index: 6} min: 0 max: 1 when: constraint: ch-emed-event-timing: {human: 'For the representation of the time of administration according to the 1-1-1-1 scheme, the values MORN-NOON-EVE-NIGHT are highly recommended.', source: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage', severity: warning, expression: $this='MORN' or $this='NOON' or $this='EVE' or $this='NIGHT'} mustSupport: true index: 7 asNeeded: choices: [] index: 9 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: asNeededBoolean: match: {} schema: short: In reserve (to be taken by the patient only if the need arises - e.g. pains) choices: [asNeededBoolean] index: 11 min: 0 max: 1 asNeededBoolean: type: boolean short: In reserve (to be taken by the patient only if the need arises - e.g. pains) choiceOf: asNeeded index: 12 slicing: slices: asNeededBoolean: match: {} schema: {type: boolean, short: In reserve (to be taken by the patient only if the need arises - e.g. pains), choiceOf: asNeeded, index: 12} min: 0 max: 1 route: short: Route of administration binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/edqm-routeofadministration'} index: 13 elements: coding: mustSupport: true index: 14 elements: system: {index: 15} code: {index: 16} required: [system, code] required: [coding] method: short: Administration method binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/edqm-administrationmethod'} index: 17 elements: coding: index: 18 elements: system: {index: 19} code: {index: 20} required: [system, code] required: [coding] doseAndRate: index: 21 elements: dose: mustSupport: true choices: [] index: 23 package_version: 5.0.0-ballot class: complex-type kind: complex-type url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-dosage version: 5.0.0-ballot