PackagesCanonicalsLogsProblems
    Packages
    ltsi.fhir.oncofair@0.1.0
    http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-medicationrequest-component
description: Is a product that belongs to the nomenclature of medicines used. It may, for example, be a speciality, a product defined by its common name or a pharmacopoeial product. \r\n\nEst un produit qui appartient à la nomenclature de médicaments utilisée. Il peut s’agir par exemple d’une spécialité, d’un produit défini par sa DC ou d’un produit de la pharmacopée.
package_name: ltsi.fhir.oncofair
derivation: constraint
name: OncoFAIRMedicationRequestComponent
type: MedicationRequest
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        oncofair-mr-exempt-ltc:
          match: {url: null}
          schema: {type: Extension, url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-exempt-ltc', index: 1}
          min: 0
          max: 1
        oncofair-mr-component-solute:
          match: {url: null}
          schema: {type: Extension, url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-component-solute', index: 2}
          min: 0
          max: 1
        oncofair-mr-is-dosage-referent:
          match: {url: null}
          schema: {type: Extension, url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-is-dosage-referent', index: 3}
          min: 0
          max: 1
  basedOn:
    short: The element linked to the component prescribed
    refers: ['http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-medicationrequest-element']
    type: Reference
    mustSupport: true
    index: 4
  medication:
    type: CodeableReference
    short: The medication linked to the component prescribed
    binding: {strength: required, valueSet: 'http://oncofair-ig.kereval.cloud/ValueSet/concept-medication-oncofair-valueset'}
    mustSupport: true
    index: 5
    elements:
      concept:
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: component}
        index: 6
  note:
    mustSupport: true
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: 1
      slices:
        wording:
          match: {id: wording}
          schema:
            short: Wording of the prescribed component
            _required: true
            index: 8
            elements:
              id:
                pattern: {type: Id, value: wording}
                index: 9
            required: [id]
        comments:
          match: {id: comments}
          schema:
            short: Comments associated with the prescribed component
            index: 10
            elements:
              id:
                pattern: {type: Id, value: comments}
                index: 11
            required: [id]
        indication:
          match: {id: indication}
          schema:
            short: Specifies the reasons that led the prescriber to prescribe this component in the prescription element
            index: 12
            elements:
              id:
                pattern: {type: Id, value: indication}
                index: 13
            required: [id]
  dosageInstruction:
    mustSupport: true
    index: 14
    elements:
      doseAndRate:
        index: 15
        elements:
          dose:
            choices: []
            index: 17
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: 1
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    short: Quantity of the component prescribed in the prescription element
                    choices: [doseQuantity]
                    _required: true
                    index: 19
                  min: 1
                  max: 1
          doseQuantity:
            short: Quantity of the component prescribed in the prescription element
            type: Quantity
            choiceOf: dose
            index: 20
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {short: Quantity of the component prescribed in the prescription element, type: Quantity, _required: true, choiceOf: dose, index: 20}
                  min: 1
                  max: 1
        required: [doseQuantity, dose]
  substitution:
    mustSupport: true
    index: 21
    elements:
      allowed:
        choices: []
        index: 23
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            allowedBoolean:
              match: {}
              schema:
                short: True if the component prescribed is declared non-substitutable in the prescription element
                choices: [allowedBoolean]
                index: 25
              min: 0
              max: 1
      allowedBoolean:
        short: True if the component prescribed is declared non-substitutable in the prescription element
        type: boolean
        choiceOf: allowed
        index: 26
        slicing:
          slices:
            allowedBoolean:
              match: {}
              schema: {short: True if the component prescribed is declared non-substitutable in the prescription element, type: boolean, choiceOf: allowed, index: 26}
              min: 0
              max: 1
package_version: 0.1.0
extensions:
  oncofair-mr-exempt-ltc: {url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-exempt-ltc', min: 0, max: 1, type: Extension, index: 1}
  oncofair-mr-component-solute: {url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-component-solute', min: 0, max: 1, type: Extension, index: 2}
  oncofair-mr-is-dosage-referent: {url: 'http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-mr-is-dosage-referent', min: 0, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: http://oncofair-ig.kereval.cloud/StructureDefinition/oncofair-medicationrequest-component
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 0.1.0
required: [basedOn, note]