description: DGMC Allergy Intolerance Comment package_name: il.fhir.r4.dgmc derivation: constraint name: DGMCAllergyIntoleranceComment type: AllergyIntolerance elements: patient: elements: reference: {index: 15} 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: 16 elements: reference: {index: 17} required: [reference] note: {index: 21} recordedDate: {index: 18} id: {index: 0} recorder: index: 19 elements: reference: {index: 20} required: [reference] code: elements: coding: index: 10 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: 1 slices: comment: match: {system: 'http://fhir.dgmc.health.gov.il/identifier/allergyInt-code-comment'} schema: _required: true index: 11 elements: system: pattern: {type: Uri, value: 'http://fhir.dgmc.health.gov.il/identifier/allergyInt-code-comment'} index: 12 code: pattern: {type: Code, value: main-comment} index: 13 display: pattern: {type: String, value: Main comment} index: 14 required: [display] required: [coding] identifier: index: 1 slicing: rules: open ordered: false discriminator: - {path: system, type: value} min: 1 slices: comment: match: {system: null} schema: _required: true index: 2 elements: system: binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/allergy-int-identifier-comment-uri'} index: 3 value: {index: 4} required: [value, system] package_version: 0.1.20 class: profile kind: resource url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-allergy-intolerance-comment base: http://fhir.health.gov.il/StructureDefinition/il-core-allergy-intolerance version: 0.1.20 required: [clinicalStatus, id, encounter, note, identifier, recorder, recordedDate]