PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.cbb@0.15.0-beta
    https://fhir.healthdata.be/StructureDefinition/HdBe-MedicationUse2
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: 17
  dosage: {type: Dosage, short: DosingInstructions / InstructionsForUse, index: 35}
  reasonCode:
    index: 30
    slicing:
      rules: open
      discriminator:
      - {path: text, type: exists}
      min: null
      slices:
        reasonForUse:
          match: {}
          schema:
            index: 31
            elements:
              text: {short: ReasonForUse, index: 32}
            required: [text]
  statusReason:
    short: ReasonForChangeOrDiscontinuationOfUse
    binding: {strength: required, valueSet: 'https://fhir.healthdata.be/ValueSet/MedicationReason'}
    index: 16
  note:
    index: 33
    elements:
      text: {short: Comment, index: 34}
  extension:
    type: Extension
    url: https://fhir.healthdata.be/StructureDefinition/ext-RenderedDosageInstruction
    index: 0
    slicing:
      slices:
        renderedDosageInstruction:
          match: {}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-RenderedDosageInstruction
            index: 0
            elements:
              value:
                choices: []
                index: 2
        prescriber:
          match: {}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.Prescriber
            index: 3
            elements:
              value:
                choices: []
                index: 5
        asAgreedIndicator:
          match: {}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.AsAgreedIndicator
            index: 6
            elements:
              value:
                choices: []
                index: 8
  status:
    short: UseIndicator / MedicationUseStopType / PeriodOfUse
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1'}
    index: 15
  effective:
    choices: []
    index: 25
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectivePeriod:
          match: {}
          schema:
            short: PeriodOfUse
            choices: [effectivePeriod]
            index: 27
  dateAsserted: {short: MedicationUseDateTime, index: 29}
  medicationReference:
    short: ProductUsed
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.healthdata.be/StructureDefinition/HdBe-PharmaceuticalProduct']
    type: Reference
    choiceOf: medication
    index: 22
    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: 22
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.healthdata.be/StructureDefinition/HdBe-Patient']
    index: 23
  modifierExtension:
    type: Extension
    url: https://fhir.healthdata.be/StructureDefinition/ext-StopType
    index: 9
    slicing:
      slices:
        stopType:
          match: {}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-StopType
            index: 9
            elements:
              value:
                short: MedicationUseStopType
                choices: []
                index: 11
        repeatPeriodCyclicalSchedule:
          match: {}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
            index: 12
            elements:
              value:
                choices: []
                index: 14
  effectivePeriod:
    short: PeriodOfUse
    type: Period
    choiceOf: effective
    index: 28
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {short: PeriodOfUse, type: Period, choiceOf: effective, index: 28}
  medication:
    choices: []
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: ProductUsed
            choices: [medicationReference]
            index: 21
package_version: 0.15.0-beta
extensions:
  renderedDosageInstruction:
    url: https://fhir.healthdata.be/StructureDefinition/ext-RenderedDosageInstruction
    type: Extension
    index: 0
    elements:
      value:
        choices: []
        index: 2
  prescriber:
    url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.Prescriber
    type: Extension
    index: 3
    elements:
      value:
        choices: []
        index: 5
  asAgreedIndicator:
    url: https://fhir.healthdata.be/StructureDefinition/ext-MedicationUse2.AsAgreedIndicator
    type: Extension
    index: 6
    elements:
      value:
        choices: []
        index: 8
class: profile
kind: resource
url: https://fhir.healthdata.be/StructureDefinition/HdBe-MedicationUse2
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: null
required: [category]