PackagesCanonicalsLogsProblems
    Packages
    rs/il.fhir.r4.dgmc@0.2.0
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-other
description: 'DGMC Allergy Intolerance Other: food/environment/biologic.'
package_name: rs/il.fhir.r4.dgmc
derivation: constraint
name: DGMCAllergyIntoleranceOther
type: AllergyIntolerance
elements:
  patient:
    elements:
      reference: {index: 20}
    required: [reference]
  clinicalStatus:
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system: {index: 7}
          code: {index: 8}
          display: {index: 9}
        required: [code, display, system]
    required: [coding]
  encounter:
    index: 21
    elements:
      reference: {index: 22}
    required: [reference]
  recordedDate: {index: 23}
  id: {index: 0}
  recorder:
    index: 24
    elements:
      reference: {index: 25}
    required: [reference]
  code:
    elements:
      coding:
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            other:
              match: {system: null}
              schema:
                index: 11
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-code-other-uri'}
                    index: 12
                  display: {index: 13}
                required: [display]
            external:
              match: {system: null}
              schema:
                index: 14
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-ext-code-other-uri'}
                    index: 15
            unknown:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 16
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 17
                  code:
                    pattern: {type: code, value: '71618600'}
                    type: code
                    index: 18
                  display:
                    pattern: {type: string, value: No known allergy}
                    type: string
                    index: 19
    required: [coding]
  identifier:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        other:
          match: {system: null}
          schema:
            _required: true
            index: 2
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-identifier-other-uri'}
                index: 3
              value: {index: 4}
            required: [system, value]
  reaction:
    elements:
      manifestation:
        elements:
          coding:
            index: 26
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-reaction-code-uri'}
                index: 27
              code: {index: 28}
              display: {index: 29}
            required: [code, display, system]
        required: [coding]
package_version: 0.2.0
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-other
base: http://fhir.health.gov.il/StructureDefinition/il-core-allergy-intolerance
version: 0.2.0
required: [clinicalStatus, encounter, id, identifier, recordedDate, recorder]