PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-5.0.0-ballot
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication
description: Definition of the medication
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDMedication
type: Medication
elements:
  code:
    elements:
      coding:
        short: Code of the medication
        index: 0
        slicing:
          slices:
            GTIN:
              match: {}
              schema: {mustSupport: true, index: 1}
      text: {short: Medication name, mustSupport: true, index: 2}
    required: [text]
  form:
    short: Galenic form
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/edqm-pharmaceuticaldoseform'}
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        elements:
          system: {index: 5}
          code: {index: 6}
        required: [system, code]
    required: [coding]
  amount: {short: Package size, index: 7}
  ingredient:
    elements:
      item:
        choices: []
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 11
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 12
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 12}
              min: 0
              max: 1
      item[x]:
        elements:
          coding:
            short: Ingredients coded with SNOMED CT
            binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/ActivePharmaceuticalIngredient'}
            index: 13
          text: {short: Ingredient name, mustSupport: true, index: 14}
        required: [text]
      strength: {short: Dose per unit, mustSupport: true, index: 15}
package_version: emed-5.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medication
version: 5.0.0-ballot