PackagesCanonicalsLogsProblems
    Packages
    rs/il.fhir.r4.dgmc@0.1.19
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-med
description: DGMC Allergy Intolerance Medication
package_name: rs/il.fhir.r4.dgmc
derivation: constraint
name: DGMCAllergyIntoleranceMed
type: AllergyIntolerance
elements:
  patient:
    elements:
      reference: {index: 14}
    required: [reference]
  clinicalStatus:
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'}
            type: uri
            index: 7
          code: {index: 8}
          display: {index: 9}
        required: [code, display, system]
    required: [coding]
  encounter:
    index: 15
    elements:
      reference: {index: 16}
    required: [reference]
  recordedDate: {index: 17}
  id: {index: 0}
  recorder:
    index: 18
    elements:
      reference: {index: 19}
    required: [reference]
  code:
    elements:
      coding:
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            med:
              match: {system: null}
              schema:
                _required: true
                index: 11
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-code-med-uri'}
                    index: 12
                  display: {index: 13}
                required: [display]
    required: [coding]
  identifier:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        medication:
          match: {system: null}
          schema:
            _required: true
            index: 2
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-identifier-med-uri'}
                index: 3
              value: {index: 4}
            required: [system, value]
  reaction:
    elements:
      manifestation:
        elements:
          coding:
            index: 20
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-reaction-code-uri'}
                index: 21
              code: {index: 22}
              display: {index: 23}
            required: [code, display, system]
        required: [coding]
package_version: 0.1.19
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-med
base: http://fhir.health.gov.il/StructureDefinition/il-core-allergy-intolerance
version: 0.1.19
required: [clinicalStatus, encounter, id, identifier, recordedDate, recorder]