PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@core-5.0.0-ballot
    http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medication
description: Base definition of the Medication resource for use in Swiss specific use cases.
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHCoreMedication
type: Medication
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            GTIN:
              match: {system: 'urn:oid:2.51.1.1'}
              schema:
                short: GTIN for Swiss products
                array: true
                index: 1
                elements:
                  system:
                    short: Global Trade Item Number (GS1)
                    pattern: {type: Uri, value: 'urn:oid:2.51.1.1'}
                    index: 2
                  code: {index: 3}
                required: [system, code]
            ATC:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                short: ATC for foreign products
                array: true
                index: 4
                elements:
                  system:
                    short: Anatomical Therapeutic Chemical (ATC) Classification
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    index: 5
                  code: {index: 6}
                required: [system, code]
  form:
    binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/edqm-pharmaceuticaldoseform'}
    index: 7
  amount: {type: Ratio, index: 8}
  ingredient:
    elements:
      item:
        choices: [itemCodeableConcept, itemReference]
        index: 10
      itemCodeableConcept: {type: CodeableConcept, choiceOf: item, index: 11}
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
        index: 12
      strength: {type: Ratio, index: 13}
package_version: core-5.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 5.0.0-ballot