PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.2.0
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-med
description: DGMC Allergy Intolerance Medication
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DGMCAllergyIntoleranceMed
type: AllergyIntolerance
elements:
  patient:
    elements:
      reference: {index: 18}
    required: [reference]
  clinicalStatus:
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'}
            index: 7
          code: {index: 8}
          display: {index: 9}
        required: [display, system, code]
    required: [coding]
  encounter:
    index: 19
    elements:
      reference: {index: 20}
    required: [reference]
  recordedDate: {index: 21}
  id: {index: 0}
  recorder:
    index: 22
    elements:
      reference: {index: 23}
    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:
                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]
            unknown:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 15
                  code:
                    pattern: {type: Code, value: '716186003'}
                    index: 16
                  display:
                    pattern: {type: String, value: No known allergy}
                    index: 17
    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: [value, system]
  reaction:
    elements:
      manifestation:
        elements:
          coding:
            index: 24
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-reaction-code-uri'}
                index: 25
              code: {index: 26}
              display: {index: 27}
            required: [display, system, code]
        required: [coding]
package_version: 0.2.0
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.2.0
required: [clinicalStatus, id, encounter, identifier, recorder, recordedDate]