description: MedNet Interface (MNI) - Allergy Intolerance Profile package_name: swiss.mednet.fhir derivation: constraint name: MNIAllergyIntolerance type: AllergyIntolerance elements: id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0} clinicalStatus: mustSupport: true index: 1 elements: coding: mustSupport: true index: 2 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'} mustSupport: true index: 3 code: {short: active | inactive | resolved, mustSupport: true, index: 4} display: {short: Active | Inactive | Resolved, mustSupport: true, index: 5} required: [system, code] required: [coding] type: {mustSupport: true, index: 6} category: {mustSupport: true, index: 7} criticality: {mustSupport: true, index: 8} code: mustSupport: true index: 9 elements: coding: index: 10 slicing: rules: open ordered: false discriminator: - {path: system, type: value} - {path: code, type: value} min: null slices: snomed: match: {system: 'http://snomed.info/sct', code: null} schema: mustSupport: true index: 11 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 12 code: {mustSupport: true, index: 13} display: {mustSupport: true, index: 14} required: [system, code] text: {short: Should contain the full name or label of the allergy in the document language. This text must alway be provided, mustSupport: true, index: 15} required: [text] patient: type: Reference short: Link to the Patient mustSupport: true refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient'] index: 16 package_version: 0.16.0 class: profile kind: resource url: https://mednet.swiss/fhir/StructureDefinition/mni-allergyIntolerance base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 0.16.0 required: [clinicalStatus, code]