PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r4b.r5-0.0.1-snapshot-1
    http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationKnowledge.ingredient
description: This cross-version extension represents MedicationKnowledge.ingredient from http://hl7.org/fhir/StructureDefinition/MedicationKnowledge|4.3.0 for use in FHIR R5.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R4B_MedicationKnowledge_ingredient
type: Extension
elements:
  extension:
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        item[x]:
          match: {url: null}
          schema:
            isModifier: false
            short: Medication(s) or substance(s) contained in the medication
            _required: true
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Medication(s) or substance(s) contained in the medication
                choices: [valueCodeableConcept, valueReference]
                index: 3
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Medication(s) or substance(s) contained in the medication
                choiceOf: value
                index: 4
              valueReference:
                short: Medication(s) or substance(s) contained in the medication
                refers: ['http://hl7.org/fhir/StructureDefinition/Substance']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
        isActive:
          match: {url: null}
          schema:
            isModifier: false
            short: Active ingredient indicator
            index: 6
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Active ingredient indicator
                choices: [valueBoolean]
                index: 8
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: Active ingredient indicator
                choiceOf: value
                index: 9
        strength:
          match: {url: null}
          schema:
            isModifier: false
            short: Quantity of ingredient present
            index: 10
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Quantity of ingredient present
                choices: [valueRatio]
                index: 12
              valueRatio:
                base: {path: 'Extension.value[x]'}
                type: Ratio
                short: Quantity of ingredient present
                choiceOf: value
                index: 13
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationKnowledge.ingredient'}
    index: 14
package_version: r4b.r5-0.0.1-snapshot-1
extensions:
  item[x]:
    url: null
    isModifier: false
    short: Medication(s) or substance(s) contained in the medication
    _required: true
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Medication(s) or substance(s) contained in the medication
        choices: [valueCodeableConcept, valueReference]
        index: 3
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Medication(s) or substance(s) contained in the medication
        choiceOf: value
        index: 4
      valueReference:
        short: Medication(s) or substance(s) contained in the medication
        refers: ['http://hl7.org/fhir/StructureDefinition/Substance']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
  isActive:
    url: null
    isModifier: false
    short: Active ingredient indicator
    index: 6
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Active ingredient indicator
        choices: [valueBoolean]
        index: 8
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: Active ingredient indicator
        choiceOf: value
        index: 9
  strength:
    url: null
    isModifier: false
    short: Quantity of ingredient present
    index: 10
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Quantity of ingredient present
        choices: [valueRatio]
        index: 12
      valueRatio:
        base: {path: 'Extension.value[x]'}
        type: Ratio
        short: Quantity of ingredient present
        choiceOf: value
        index: 13
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationKnowledge.ingredient
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url, extension]