description: Base definition of the MedicationStatement resource for use in Swiss specific use cases. package_name: ch.fhir.ig.ch-core derivation: constraint name: CHCoreMedicationStatement type: MedicationStatement elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: substitution: match: {url: null} schema: {type: Extension, short: Whether substitution is allowed or not, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution', index: 1} min: 0 max: 1 medication: choices: [medicationCodeableConcept, medicationReference] index: 3 medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 4} medicationReference: type: Reference choiceOf: medication refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medication'] index: 5 subject: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 6 informationSource: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 7 dosage: {type: Dosage, index: 8} package_version: 5.0.0-ballot extensions: substitution: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution', min: 0, max: 1, type: Extension, short: Whether substitution is allowed or not, index: 1} class: profile kind: resource url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationstatement base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 5.0.0-ballot