PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epl@1.0.0-ballot
    http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-ingredient
description: Profile of the Ingredient resource for representing the material used in the preparation of a medicinal/pharmaceutical product.
package_name: ch.fhir.ig.ch-epl
derivation: constraint
name: CHIDMPIngredient
type: Ingredient
elements:
  for:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-administrableproductdefinition', 'http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-manufactureditemdefinition', 'http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-medicinalproductdefinition']
    index: 0
  role:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epl/ValueSet/ch-SMC-ingredient-role'}
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            SMC:
              match: {system: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-ingredient-role'}
              schema:
                index: 3
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-ingredient-role'}
                    type: uri
                    index: 4
                  code: {index: 5}
                required: [code, system]
    required: [coding]
  substance:
    elements:
      code:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epl/ValueSet/ch-SMC-substance'}
        index: 6
        elements:
          concept:
            index: 7
            elements:
              coding:
                index: 8
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: 1
                  slices:
                    UNII:
                      match: {system: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-substance'}
                      schema:
                        index: 9
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://fhir.ch/ig/ch-epl/CodeSystem/ch-SMC-substance'}
                            type: uri
                            index: 10
                          code: {index: 11}
                        required: [code, system]
            required: [coding]
        required: [concept]
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epl/StructureDefinition/ch-idmp-ingredient
base: http://hl7.org/fhir/StructureDefinition/Ingredient
version: 1.0.0-ballot