PackagesCanonicalsLogsProblems
    Packages
    rs/il.core.fhir.r4@0.16.0
    http://fhir.health.gov.il/StructureDefinition/il-core-medication
description: Israel Core proposed constraints and extensions on the Medication Resource
package_name: rs/il.core.fhir.r4
derivation: constraint
name: ILCoreMedication
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        narcotic:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-narcotic-medication', index: 1}
          min: 0
          max: 1
  identifier:
    elements:
      assigner:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
        index: 2
  code:
    binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-medication-code'}
    mustSupport: true
    index: 3
  manufacturer:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
    index: 4
  form:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/medication-form-codes'}
    index: 5
  ingredient:
    elements:
      item:
        choices: []
        index: 7
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemReference:
              match: {}
              schema:
                choices: [itemReference]
                index: 9
              min: 0
              max: 1
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication', 'http://fhir.health.gov.il/StructureDefinition/il-core-substance']
        index: 10
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                type: Reference
                choiceOf: item
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication', 'http://fhir.health.gov.il/StructureDefinition/il-core-substance']
                index: 10
              min: 0
              max: 1
package_version: 0.16.0
extensions:
  narcotic: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-narcotic-medication', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.16.0
required: [code]