PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.be.medication@1.1.1
    https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationLine
description: Medication Line profile - contains the overview information for a single medication item
package_name: hl7.fhir.be.medication
derivation: constraint
name: BeMedicationLine
type: MedicationStatement
elements:
  category:
    binding: {strength: required, valueSet: 'https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationLineOriginTypeVS'}
    mustSupport: true
    index: 20
  dosage: {type: Dosage, mustSupport: true, index: 37}
  medication[x]:
    extensions:
      medicationType: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtMedicationType', min: 0, max: 1, type: Extension, short: Type of medication, mustSupport: true, index: 23}
    elements:
      extension:
        type: Extension
        short: Type of medication
        mustSupport: true
        url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtMedicationType
        index: 23
        slicing:
          slices:
            medicationType:
              match: {}
              schema: {type: Extension, short: Type of medication, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtMedicationType', index: 23}
              min: 0
              max: 1
  reasonCode: {mustSupport: true, index: 34}
  statusReason:
    binding: {strength: example, valueSet: 'https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationLineAdherenceStatusReasonVS'}
    mustSupport: true
    index: 19
  note: {mustSupport: true, index: 36}
  effective[x]:
    elements:
      start: {mustSupport: true, index: 30}
      end: {mustSupport: true, index: 31}
    required: [start]
  extension:
    array: true
    min: 5
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 5
      slices:
        recordedDate:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtRecordedDate', index: 1}
          min: 1
          max: 1
        recorder:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtRecorder', index: 2}
          min: 1
          max: 1
        exposure-category:
          match: {url: null}
          schema: {type: Extension, short: Exposure category, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationExposureCategory', index: 3}
          min: 0
          max: 1
        artifact-version:
          match: {url: null}
          schema: {type: Extension, short: The business version of the medication line - this version changes when the content update is considered clinically relevant, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/artifact-version|5.2.0', index: 4}
          min: 1
          max: 1
        artifact-date:
          match: {url: null}
          schema: {type: Extension, short: The business-relevant recorded date - the date the medication line was created or changed, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/artifact-date|5.2.0', index: 5}
          min: 0
          max: 1
        adherence:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
            index: 6
            extensions:
              code:
                url: null
                short: Indicates whether the medication is or is not being consumed or administered
                mustSupport: true
                index: 7
                extensions: {}
                elements:
                  extension: {index: 8}
                  value:
                    choices: []
                    index: 10
            elements:
              extension:
                short: Indicates whether the medication is or is not being consumed or administered
                mustSupport: true
                index: 7
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        short: Indicates whether the medication is or is not being consumed or administered
                        mustSupport: true
                        index: 7
                        extensions: {}
                        elements:
                          extension: {index: 8}
                          value:
                            choices: []
                            index: 10
        registrationStatus:
          match: {url: null}
          schema: {short: The registration status of the medication line - preadopting the values in R5, type: Extension, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtMedicationLineRegistrationStatus', index: 11}
          min: 1
          max: 1
        offLabel:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtOffLabel
            index: 12
            extensions:
              reason: {url: null, short: The reason why the recommended dosage was overridden, index: 13}
            elements:
              extension:
                short: The reason why the recommended dosage was overridden
                index: 13
                slicing:
                  slices:
                    reason:
                      match: {}
                      schema: {short: The reason why the recommended dosage was overridden, index: 13}
  status:
    mustSupport: true
    pattern: {type: Code, value: unknown}
    index: 18
  effective:
    mustSupport: true
    choices: []
    index: 26
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        effectivePeriod:
          match: {}
          schema:
            mustSupport: true
            choices: [effectivePeriod]
            _required: true
            index: 28
          min: 1
          max: 1
  identifier:
    mustSupport: true
    index: 14
    slicing:
      rules: open
      description: Slice based on the identifier system
      discriminator:
      - {path: system, type: pattern}
      min: 1
      slices:
        vidis:
          match: {system: 'http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline'}
          schema:
            short: VIDIS identifier
            mustSupport: true
            index: 15
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline'}
                index: 16
              value: {mustSupport: true, index: 17}
            required: [system]
  dateAsserted: {mustSupport: true, index: 32}
  informationSource:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole']
    index: 33
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient']
    index: 24
  effectivePeriod:
    type: Period
    mustSupport: true
    choiceOf: effective
    index: 29
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: effective, _required: true, index: 29}
          min: 1
          max: 1
  medication:
    mustSupport: true
    choices: []
    index: 22
  reasonReference: {mustSupport: true, index: 35}
package_version: 1.1.1
extensions:
  recordedDate: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtRecordedDate', min: 1, max: 1, type: Extension, mustSupport: true, index: 1}
  recorder: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtRecorder', min: 1, max: 1, type: Extension, mustSupport: true, index: 2}
  exposure-category: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationExposureCategory', min: 0, max: 1, type: Extension, short: Exposure category, mustSupport: true, index: 3}
  artifact-version: {url: 'http://hl7.org/fhir/StructureDefinition/artifact-version|5.2.0', min: 1, max: 1, type: Extension, short: The business version of the medication line - this version changes when the content update is considered clinically relevant, mustSupport: true, index: 4}
  artifact-date: {url: 'http://hl7.org/fhir/StructureDefinition/artifact-date|5.2.0', min: 0, max: 1, type: Extension, short: The business-relevant recorded date - the date the medication line was created or changed, mustSupport: true, index: 5}
  adherence:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
    type: Extension
    mustSupport: true
    index: 6
    extensions:
      code:
        url: null
        short: Indicates whether the medication is or is not being consumed or administered
        mustSupport: true
        index: 7
        extensions: {}
        elements:
          extension: {index: 8}
          value:
            choices: []
            index: 10
    elements:
      extension:
        short: Indicates whether the medication is or is not being consumed or administered
        mustSupport: true
        index: 7
        slicing:
          slices:
            code:
              match: {}
              schema:
                short: Indicates whether the medication is or is not being consumed or administered
                mustSupport: true
                index: 7
                extensions: {}
                elements:
                  extension: {index: 8}
                  value:
                    choices: []
                    index: 10
  registrationStatus: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtMedicationLineRegistrationStatus', min: 1, max: 1, short: The registration status of the medication line - preadopting the values in R5, type: Extension, mustSupport: true, index: 11}
  offLabel:
    url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtOffLabel
    type: Extension
    mustSupport: true
    index: 12
    extensions:
      reason: {url: null, short: The reason why the recommended dosage was overridden, index: 13}
    elements:
      extension:
        short: The reason why the recommended dosage was overridden
        index: 13
        slicing:
          slices:
            reason:
              match: {}
              schema: {short: The reason why the recommended dosage was overridden, index: 13}
class: profile
kind: resource
url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationLine
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.1.1
required: [informationSource, effectivePeriod, identifier, dateAsserted, effective]