description: MedicationUse2 is a statement on the historic, current or intended use of a certain medicine. package_name: healthdata.be.r4.cbb derivation: constraint name: HdBeMedicationUse2 type: MedicationStatement elements: category: pattern: type: CodeableConcept value: coding: - {code: '422979000', system: 'http://snomed.info/sct'} index: 19 dosage: {type: Dosage, short: DosingInstructions / InstructionsForUse, index: 37} reasonCode: index: 32 slicing: rules: open discriminator: - {path: text, type: exists} min: null slices: reasonForUse: match: {} schema: index: 33 elements: text: {short: ReasonForUse, index: 34} required: [text] statusReason: short: ReasonForChangeOrDiscontinuationOfUse binding: {strength: required, valueSet: 'https://fhir.healthdata.be/ValueSet/MedicationReason'} index: 18 note: index: 35 elements: text: {short: Comment, index: 36} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: renderedDosageInstruction: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/StructureDefinition/ext-RenderedDosageInstruction index: 1 elements: value: choices: [] index: 3 prescriber: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.Prescriber index: 4 elements: value: choices: [] index: 6 asAgreedIndicator: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.AsAgreedIndicator index: 7 elements: value: choices: [] index: 9 status: short: UseIndicator / MedicationUseStopType / PeriodOfUse binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1'} index: 17 effective: choices: [] index: 27 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: effectivePeriod: match: {} schema: short: PeriodOfUse choices: [effectivePeriod] index: 29 dateAsserted: {short: MedicationUseDateTime, index: 31} medicationReference: short: ProductUsed refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.healthdata.be/StructureDefinition/HdBe-PharmaceuticalProduct'] type: Reference choiceOf: medication index: 24 slicing: slices: medicationReference: match: {} schema: short: ProductUsed refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.healthdata.be/StructureDefinition/HdBe-PharmaceuticalProduct'] type: Reference choiceOf: medication index: 24 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.healthdata.be/StructureDefinition/HdBe-Patient'] index: 25 modifierExtension: index: 10 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: stopType: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/StructureDefinition/ext-StopType index: 11 elements: value: short: MedicationUseStopType choices: [] index: 13 repeatPeriodCyclicalSchedule: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule index: 14 elements: value: choices: [] index: 16 effectivePeriod: short: PeriodOfUse type: Period choiceOf: effective index: 30 slicing: slices: effectivePeriod: match: {} schema: {short: PeriodOfUse, type: Period, choiceOf: effective, index: 30} medication: choices: [] index: 21 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: medicationReference: match: {} schema: short: ProductUsed choices: [medicationReference] index: 23 package_version: 0.10.0-beta extensions: renderedDosageInstruction: url: https://fhir.healthdata.be/StructureDefinition/ext-RenderedDosageInstruction type: Extension index: 1 elements: value: choices: [] index: 3 prescriber: url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.Prescriber type: Extension index: 4 elements: value: choices: [] index: 6 asAgreedIndicator: url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.AsAgreedIndicator type: Extension index: 7 elements: value: choices: [] index: 9 class: profile kind: resource url: https://fhir.healthdata.be/StructureDefinition/HdBe-MedicationUse2 base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: null required: [category]