PackagesCanonicalsLogsProblems
    Packages
    rs/il.core.fhir.r4@0.7.0
    http://fhir.health.gov.il/StructureDefinition/il-core-medication
description: Proposed constraints and extensions on the Medication Resource
package_name: rs/il.core.fhir.r4
derivation: constraint
name: ILCoreMedication
type: Medication
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                array: true
                index: 1
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 2
                  code:
                    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medication-codes'}
                    index: 3
                required: [code, system]
            yarpa:
              match: {system: 'http://yarpa.co.il/catalog'}
              schema:
                array: true
                index: 4
                elements:
                  system:
                    pattern: {type: uri, value: 'http://yarpa.co.il/catalog'}
                    type: uri
                    index: 5
                  code:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/yarpa-medication-code'}
                    index: 6
                  display:
                    pattern: {type: string, value: YARPA medication IDs}
                    type: string
                    index: 7
                required: [code, system]
  ingredient:
    elements:
      itemReference:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
        index: 8
package_version: 0.7.0
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.7.0