PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.be.medication@1.1.1
    https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationPrescription
description: Medication Request profile - The common structure for medication request
package_name: hl7.fhir.be.medication
derivation: constraint
name: BeMedicationPrescription
type: MedicationRequest
elements:
  substitution:
    mustSupport: true
    index: 32
    elements:
      allowed:
        mustSupport: true
        choices: [allowedBoolean]
        index: 34
      allowedBoolean: {type: boolean, mustSupport: true, choiceOf: allowed, index: 35}
  dispenseRequest:
    mustSupport: true
    index: 26
    elements:
      validityPeriod:
        mustSupport: true
        index: 27
        elements:
          start: {mustSupport: true, index: 28}
          end: {mustSupport: true, index: 29}
        required: [start]
      numberOfRepeatsAllowed: {mustSupport: true, index: 30}
      quantity: {mustSupport: true, index: 31}
  reasonCode: {mustSupport: true, index: 21}
  statusReason: {mustSupport: true, index: 12}
  authoredOn: {mustSupport: true, index: 19}
  note: {mustSupport: true, index: 24}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        offLabel:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtOffLabel
            index: 1
            extensions:
              isOffLabelUse: {url: null, short: Indicates that the recommended dosage was overridden, index: 2}
              reason: {url: null, short: The reason why the recommended dosage was overridden, index: 3}
            elements:
              extension:
                short: Indicates that the recommended dosage was overridden
                index: 2
                slicing:
                  slices:
                    isOffLabelUse:
                      match: {}
                      schema: {short: Indicates that the recommended dosage was overridden, index: 2}
                    reason:
                      match: {}
                      schema: {short: The reason why the recommended dosage was overridden, index: 3}
        basedOnMedicationLine:
          match: {url: null}
          schema: {type: Extension, short: Medication Line where this prescription is based upon, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BasedOnMedicationLine', index: 4}
          min: 0
          max: 1
        instructionsForReimbursement:
          match: {url: null}
          schema: {type: Extension, short: Instructions for reimbursement, mustSupport: true, url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtInstructionsForReimbursement', index: 5}
          min: 0
          max: 1
        statusChanged:
          match: {url: null}
          schema: {short: Indicates when the status of the medication request was last changed., type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.statusChanged', index: 6}
          min: 0
          max: 1
  requester:
    type: Reference
    mustSupport: true
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole']
    index: 20
  supportingInformation: {mustSupport: true, index: 18}
  priority: {mustSupport: true, index: 14}
  status:
    binding: {strength: required, valueSet: 'https://www.ehealth.fgov.be/standards/fhir/terminology/ValueSet/BeMedicationPrescriptionStatusVS'}
    mustSupport: true
    index: 11
  dosageInstruction: {type: Dosage, mustSupport: true, index: 25}
  groupIdentifier: {mustSupport: true, index: 23}
  identifier:
    mustSupport: true
    index: 7
    slicing:
      rules: open
      description: Slice based on the identifier system
      discriminator:
      - {path: system, type: pattern}
      min: 1
      slices:
        recip-e:
          match: {system: 'http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-prescription'}
          schema:
            short: Recip-E identifier
            mustSupport: true
            index: 8
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-prescription'}
                index: 9
              value: {mustSupport: true, index: 10}
            required: [system]
  intent: {mustSupport: true, index: 13}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient']
    index: 17
  medication:
    mustSupport: true
    choices: []
    index: 16
  reasonReference: {mustSupport: true, index: 22}
package_version: 1.1.1
extensions:
  offLabel:
    url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtOffLabel
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      isOffLabelUse: {url: null, short: Indicates that the recommended dosage was overridden, index: 2}
      reason: {url: null, short: The reason why the recommended dosage was overridden, index: 3}
    elements:
      extension:
        short: Indicates that the recommended dosage was overridden
        index: 2
        slicing:
          slices:
            isOffLabelUse:
              match: {}
              schema: {short: Indicates that the recommended dosage was overridden, index: 2}
            reason:
              match: {}
              schema: {short: The reason why the recommended dosage was overridden, index: 3}
  basedOnMedicationLine: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BasedOnMedicationLine', min: 0, max: 1, type: Extension, short: Medication Line where this prescription is based upon, mustSupport: true, index: 4}
  instructionsForReimbursement: {url: 'https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeExtInstructionsForReimbursement', min: 0, max: 1, type: Extension, short: Instructions for reimbursement, mustSupport: true, index: 5}
  statusChanged: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.statusChanged', min: 0, max: 1, short: Indicates when the status of the medication request was last changed., type: Extension, mustSupport: true, index: 6}
class: profile
kind: resource
url: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationPrescription
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.1.1
required: [authoredOn, dosageInstruction, requester, identifier]