PackagesCanonicalsLogsProblems
    Packages
    leumit.fhir.r4@0.8.0
    http://fhir.leumit.co.il/StructureDefinition/leumit-allergy-intolerance
description: Leumit proposed profile for an AllergyIntolerance resource
package_name: leumit.fhir.r4
derivation: constraint
name: LeumitAllergyIntolerance
type: AllergyIntolerance
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            hdp:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-allergy-intolerance-code'}
                index: 1
              min: 0
              max: 1
            leumit:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.leumit.co.il/ValueSet/AllergyIntoleranceCode'}
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.leumit.co.il/cs/AllergyIntoleranceCode'}
                    index: 3
  reaction:
    elements:
      substance:
        elements:
          coding:
            index: 4
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                hdp:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-substance'}
                    index: 5
                    elements:
                      system: {index: 6}
                      code: {index: 7}
                    required: [system, code]
                leumit:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.leumit.co.il/ValueSet/Substance'}
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.leumit.co.il/cs/Substance'}
                        index: 9
                      code: {index: 10}
                    required: [system, code]
      manifestation:
        elements:
          coding:
            index: 11
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                hdp:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-manifestation'}
                    index: 12
                    elements:
                      system: {index: 13}
                      code: {index: 14}
                    required: [system, code]
                leumit:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.leumit.co.il/ValueSet/Manifestation'}
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.leumit.co.il/cs/Manifestation'}
                        index: 16
                      code: {index: 17}
                    required: [system, code]
package_version: 0.8.0
class: profile
kind: resource
url: http://fhir.leumit.co.il/StructureDefinition/leumit-allergy-intolerance
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-allergy-intolerance
version: 0.8.0