This page is part of the Australian Base IG (v1.1.1: AU Base 1.1 on STU3 Draft) based on FHIR R3. The current version which supercedes this version is 1.0.2. For a full list of available versions, see the Directory of published versions
Raw ttl
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "au-allergyintolerance"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Additional information about the element\">Description & Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance\">AllergyIntolerance</a><a name=\"AllergyIntolerance\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (inv-ait-0)\">I</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/allergyintolerance.html\">AllergyIntolerance</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">An allergy or intolerance statement in an Australian healthcare context<br/><span style=\"font-weight:bold\">inv-ait-0: </span>Recorder and author related party shall not coexist</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.extension\">extension</a><a name=\"AllergyIntolerance.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.extension:authorRelatedPerson\" title=\"Extension URL = http://hl7.org.au/fhir/StructureDefinition/author-related-person\">author-related-person</a><a name=\"AllergyIntolerance.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/STU3/relatedperson.html\">RelatedPerson</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Related person that authored the resource<br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/STU3/StructureDefinition-author-related-person.html\">http://hl7.org.au/fhir/StructureDefinition/author-related-person</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.code\">code</a><a name=\"AllergyIntolerance.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-1\">https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.reaction\">reaction</a><a name=\"AllergyIntolerance.reaction\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reaction details</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.reaction.substance\">substance</a><a name=\"AllergyIntolerance.reaction.substance\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1\">https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-allergyintolerance-definitions.html#AllergyIntolerance.reaction.manifestation\">manifestation</a><a name=\"AllergyIntolerance.reaction.manifestation\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1\">https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-allergyintolerance"]; fhir:StructureDefinition.version [ fhir:value "1.1.1"]; fhir:StructureDefinition.name [ fhir:value "AUBaseAllergyIntolerance"]; fhir:StructureDefinition.title [ fhir:value "AU Base Allergy Intolerance"]; fhir:StructureDefinition.status [ fhir:value "draft"]; fhir:StructureDefinition.date [ fhir:value "2018-08-20T00:00:00+10:00"^^xsd:dateTime]; fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven Australia"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org.au" ]; fhir:ContactPoint.use [ fhir:value "work" ] ] ]; fhir:StructureDefinition.description [ fhir:value "This profile defines an allergy intolerance structure including core localisation concepts for use in an Australian context."]; fhir:StructureDefinition.fhirVersion [ fhir:value "3.0.2"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 1; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ]; fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ] ], [ fhir:index 2; fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ]; fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ] ]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "AllergyIntolerance"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.snapshot.element [ fhir:index 0; fhir:Element.id [ fhir:value "AllergyIntolerance" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance" ]; fhir:ElementDefinition.short [ fhir:value "An allergy or intolerance statement in an Australian healthcare context" ]; fhir:ElementDefinition.definition [ fhir:value "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance." ]; fhir:ElementDefinition.comment [ fhir:value "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings." ]; fhir:ElementDefinition.alias [ fhir:value "Allergy"; fhir:index 0 ], [ fhir:value "Intolerance"; fhir:index 1 ], [ fhir:value "Adverse Reaction"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "dom-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain any narrative" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.text.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:text)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 2; fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 3; fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ] ], [ fhir:index 4; fhir:ElementDefinition.constraint.key [ fhir:value "ait-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error." ]; fhir:ElementDefinition.constraint.expression [ fhir:value "verificationStatus='entered-in-error' or clinicalStatus.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" ] ], [ fhir:index 5; fhir:ElementDefinition.constraint.key [ fhir:value "ait-2" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "verificationStatus!='entered-in-error' or clinicalStatus.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" ] ], [ fhir:index 6; fhir:ElementDefinition.constraint.key [ fhir:value "inv-ait-0" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Recorder and author related party shall not coexist" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "(extension('http://hl7.org.au/fhir/StructureDefinition/author-related-person').exists() and recorder.exists()).not()" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=OBS, moodCode=EVN]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "clinical.general" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "AllergyIntolerance.id" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.id" ]; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ]; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ]; fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "id" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "AllergyIntolerance.meta" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.meta" ]; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ]; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "AllergyIntolerance.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.implicitRules" ]; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ]; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "AllergyIntolerance.language" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.language" ]; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ]; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ]; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.valueReference [ fhir:link <http://hl7.org/fhir/ValueSet/all-languages>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ] ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "Language" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/languages>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ] ] ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "AllergyIntolerance.text" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.text" ]; fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ]; fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ]; fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later." ]; fhir:ElementDefinition.alias [ fhir:value "narrative"; fhir:index 0 ], [ fhir:value "html"; fhir:index 1 ], [ fhir:value "xhtml"; fhir:index 2 ], [ fhir:value "display"; fhir:index 3 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ]; fhir:ElementDefinition.condition [ fhir:value "dom-1"; fhir:index 0 ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "AllergyIntolerance.contained" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.contained" ]; fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ]; fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ]; fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ]; fhir:ElementDefinition.alias [ fhir:value "inline resources"; fhir:index 0 ], [ fhir:value "anonymous resources"; fhir:index 1 ], [ fhir:value "contained resources"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ]; fhir:ElementDefinition.short [ fhir:value "Extension" ]; fhir:ElementDefinition.definition [ fhir:value "An Extension" ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "AllergyIntolerance.extension:authorRelatedPerson" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.sliceName [ fhir:value "authorRelatedPerson" ]; fhir:ElementDefinition.short [ fhir:value "Related person that authored the resource" ]; fhir:ElementDefinition.definition [ fhir:value "Reference to related person that authored the resource and takes responsibility for its content." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/author-related-person" ] ]; fhir:ElementDefinition.condition [ fhir:value "ele-1"; fhir:index 0 ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "Element" ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "AllergyIntolerance.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ]; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 10; fhir:Element.id [ fhir:value "AllergyIntolerance.identifier" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.identifier" ]; fhir:ElementDefinition.short [ fhir:value "External ids for this item" ]; fhir:ElementDefinition.definition [ fhir:value "This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.identifier" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "IAM-7" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "id" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "id" ] ] ], [ fhir:index 11; fhir:Element.id [ fhir:value "AllergyIntolerance.clinicalStatus" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.clinicalStatus" ]; fhir:ElementDefinition.short [ fhir:value "active | inactive | resolved" ]; fhir:ElementDefinition.definition [ fhir:value "The clinical status of the allergy or intolerance." ]; fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as not currently valid." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.clinicalStatus" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.condition [ fhir:value "ait-1"; fhir:index 0 ], [ fhir:value "ait-2"; fhir:index 1 ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceClinicalStatus" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "The clinical status of the allergy or intolerance." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/allergy-clinical-status>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/allergy-clinical-status" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "status" ] ] ], [ fhir:index 12; fhir:Element.id [ fhir:value "AllergyIntolerance.verificationStatus" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.verificationStatus" ]; fhir:ElementDefinition.short [ fhir:value "unconfirmed | confirmed | refuted | entered-in-error" ]; fhir:ElementDefinition.definition [ fhir:value "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product)." ]; fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.verificationStatus" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.condition [ fhir:value "ait-1"; fhir:index 0 ], [ fhir:value "ait-2"; fhir:index 1 ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceVerificationStatus" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/allergy-verification-status>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/allergy-verification-status" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "status" ] ] ], [ fhir:index 13; fhir:Element.id [ fhir:value "AllergyIntolerance.type" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.type" ]; fhir:ElementDefinition.short [ fhir:value "allergy | intolerance - Underlying mechanism (if known)" ]; fhir:ElementDefinition.definition [ fhir:value "Identification of the underlying physiological mechanism for the reaction risk." ]; fhir:ElementDefinition.comment [ fhir:value "Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians may not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts may not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource." ]; fhir:ElementDefinition.alias [ fhir:value "Category"; fhir:index 0 ], [ fhir:value "Class"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.type" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceType" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Identification of the underlying physiological mechanism for a Reaction Risk." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/allergy-intolerance-type>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "IAM-9" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "code" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "class" ] ] ], [ fhir:index 14; fhir:Element.id [ fhir:value "AllergyIntolerance.category" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.category" ]; fhir:ElementDefinition.short [ fhir:value "food | medication | environment | biologic" ]; fhir:ElementDefinition.definition [ fhir:value "Category of the identified substance." ]; fhir:ElementDefinition.comment [ fhir:value "This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation. When searching on category, consider the implications of AllergyIntolerance resources without a category. For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned. Refer to [search](http://hl7.org/fhir/STU3/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category. Additionally, category should be used with caution because category can be subjective based on the sender." ]; fhir:ElementDefinition.alias [ fhir:value "Category"; fhir:index 0 ], [ fhir:value "Type"; fhir:index 1 ], [ fhir:value "Reaction Type"; fhir:index 2 ], [ fhir:value "Class"; fhir:index 3 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.category" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceCategory" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Category of an identified substance." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/allergy-intolerance-category>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "AL1-2" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "value < IntoleranceValue (Agent)" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "class" ] ] ], [ fhir:index 15; fhir:Element.id [ fhir:value "AllergyIntolerance.criticality" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.criticality" ]; fhir:ElementDefinition.short [ fhir:value "low | high | unable-to-assess" ]; fhir:ElementDefinition.definition [ fhir:value "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance." ]; fhir:ElementDefinition.comment [ fhir:value "The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere).\n\nSystems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity. Existing systems that are capturing both condition criticality and reaction severity may use the term \"severity\" to represent both. Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent." ]; fhir:ElementDefinition.alias [ fhir:value "Severity"; fhir:index 0 ], [ fhir:value "Seriousness"; fhir:index 1 ], [ fhir:value "Contra-indication"; fhir:index 2 ], [ fhir:value "Risk"; fhir:index 3 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.criticality" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceCriticality" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "AL1-4" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "grade" ] ] ], [ fhir:index 16; fhir:Element.id [ fhir:value "AllergyIntolerance.code" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.code" ]; fhir:ElementDefinition.short [ fhir:value "Code that identifies the allergy or intolerance" ]; fhir:ElementDefinition.definition [ fhir:value "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g., \"No known allergy\", \"No known drug allergies\")." ]; fhir:ElementDefinition.comment [ fhir:value "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNI, ATC and CPT. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.\r\rWhen a substance or product code is specified for the 'code' element, the \"default\" semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product. In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the \"Causative agent\" relationship.\r\rThe 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements. This extension provides the capability to make \"no known allergy\" (or \"no risk of adverse reaction\") statements regarding any coded substance/product (including cases when a pre-coordinated \"no allergy to x\" concept for that substance/product does not exist). If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted." ]; fhir:ElementDefinition.alias [ fhir:value "Code"; fhir:index 0 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.code" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding for type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-1>; fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-1" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "AL1-3 / IAM-3" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "what" ] ] ], [ fhir:index 17; fhir:Element.id [ fhir:value "AllergyIntolerance.patient" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.patient" ]; fhir:ElementDefinition.short [ fhir:value "Who the sensitivity is for" ]; fhir:ElementDefinition.definition [ fhir:value "The patient who has the allergy or intolerance." ]; fhir:ElementDefinition.alias [ fhir:value "Patient"; fhir:index 0 ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.patient" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "(PID-3)" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].role[classCode=PAT]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ] ] ], [ fhir:index 18; fhir:Element.id [ fhir:value "AllergyIntolerance.onset[x]" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.onset[x]" ]; fhir:ElementDefinition.short [ fhir:value "When allergy or intolerance was identified" ]; fhir:ElementDefinition.definition [ fhir:value "Estimated or actual date, date-time, or age when allergy or intolerance was identified." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.onset[x]" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Age" ] ], [ fhir:index 2; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ], [ fhir:index 3; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 4; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime.low" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "when.init" ] ] ], [ fhir:index 19; fhir:Element.id [ fhir:value "AllergyIntolerance.assertedDate" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.assertedDate" ]; fhir:ElementDefinition.short [ fhir:value "Date record was believed accurate" ]; fhir:ElementDefinition.definition [ fhir:value "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.assertedDate" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "IAM-20" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].time" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "when.recorded" ] ] ], [ fhir:index 20; fhir:Element.id [ fhir:value "AllergyIntolerance.recorder" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.recorder" ]; fhir:ElementDefinition.short [ fhir:value "Who recorded the sensitivity" ]; fhir:ElementDefinition.definition [ fhir:value "Individual who recorded the record and takes responsibility for its content." ]; fhir:ElementDefinition.alias [ fhir:value "Author"; fhir:index 0 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.recorder" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who.author" ] ] ], [ fhir:index 21; fhir:Element.id [ fhir:value "AllergyIntolerance.asserter" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.asserter" ]; fhir:ElementDefinition.short [ fhir:value "Source of the information about the allergy" ]; fhir:ElementDefinition.definition [ fhir:value "The source of the information about the allergy that is recorded." ]; fhir:ElementDefinition.comment [ fhir:value "The recorder takes repsonsibility for the content, but can reference the source from where they got it." ]; fhir:ElementDefinition.alias [ fhir:value "Source"; fhir:index 0 ], [ fhir:value "Informant"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.asserter" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ], [ fhir:index 2; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "IAM-14 (if patient) / IAM-18 (if practitioner)" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=INF].role" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "who.source" ] ] ], [ fhir:index 22; fhir:Element.id [ fhir:value "AllergyIntolerance.lastOccurrence" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.lastOccurrence" ]; fhir:ElementDefinition.short [ fhir:value "Date(/time) of last known occurrence of a reaction" ]; fhir:ElementDefinition.definition [ fhir:value "Represents the date and/or time of the last known occurrence of a reaction event." ]; fhir:ElementDefinition.comment [ fhir:value "This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.lastOccurrence" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" ] ] ], [ fhir:index 23; fhir:Element.id [ fhir:value "AllergyIntolerance.note" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.note" ]; fhir:ElementDefinition.short [ fhir:value "Additional text not captured in other fields" ]; fhir:ElementDefinition.definition [ fhir:value "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields." ]; fhir:ElementDefinition.comment [ fhir:value "For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and AllergyIntolerance.event.notes." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.note" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Annotation" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "subjectOf.observationEvent[code=\"annotation\"].value" ] ] ], [ fhir:index 24; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction" ]; fhir:ElementDefinition.short [ fhir:value "Reaction details" ]; fhir:ElementDefinition.definition [ fhir:value "Details about each adverse reaction event linked to exposure to the identified substance." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "Element" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" ] ] ], [ fhir:index 25; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.id" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ]; fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 26; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.extension" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.extension" ]; fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 27; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ]; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ], [ fhir:value "modifiers"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 28; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.substance" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.substance" ]; fhir:ElementDefinition.short [ fhir:value "Specific substance or pharmaceutical product considered to be responsible for event" ]; fhir:ElementDefinition.definition [ fhir:value "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'." ]; fhir:ElementDefinition.comment [ fhir:value "Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible. The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identifed as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.substance" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding defining the type of the substance (including pharmaceutical products)." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1>; fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]" ] ] ], [ fhir:index 29; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.manifestation" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.manifestation" ]; fhir:ElementDefinition.short [ fhir:value "Clinical symptoms/signs associated with the Event" ]; fhir:ElementDefinition.definition [ fhir:value "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event." ]; fhir:ElementDefinition.comment [ fhir:value "Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines. Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10." ]; fhir:ElementDefinition.alias [ fhir:value "Symptoms"; fhir:index 0 ], [ fhir:value "Signs"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.manifestation" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding of clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1>; fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "AL1-5" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "code" ] ] ], [ fhir:index 30; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.description" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.description" ]; fhir:ElementDefinition.short [ fhir:value "Description of the event as a whole" ]; fhir:ElementDefinition.definition [ fhir:value "Text description about the reaction as a whole, including details of the manifestation if required." ]; fhir:ElementDefinition.comment [ fhir:value "Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives." ]; fhir:ElementDefinition.alias [ fhir:value "Narrative"; fhir:index 0 ], [ fhir:value "Text"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.description" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "text" ] ] ], [ fhir:index 31; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.onset" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.onset" ]; fhir:ElementDefinition.short [ fhir:value "Date(/time) when manifestations showed" ]; fhir:ElementDefinition.definition [ fhir:value "Record of the date and/or time of the onset of the Reaction." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.onset" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "AL1-6" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime.low" ] ] ], [ fhir:index 32; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.severity" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.severity" ]; fhir:ElementDefinition.short [ fhir:value "mild | moderate | severe (of event as a whole)" ]; fhir:ElementDefinition.definition [ fhir:value "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations." ]; fhir:ElementDefinition.comment [ fhir:value "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.severity" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "AllergyIntoleranceSeverity" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/reaction-event-severity>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/reaction-event-severity" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" ] ] ], [ fhir:index 33; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.exposureRoute" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.exposureRoute" ]; fhir:ElementDefinition.short [ fhir:value "How the subject was exposed to the substance" ]; fhir:ElementDefinition.definition [ fhir:value "Identification of the route by which the subject was exposed to the substance." ]; fhir:ElementDefinition.comment [ fhir:value "Coding of the route of exposure with a terminology should be used wherever possible." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.exposureRoute" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "RouteOfAdministration" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." ]; fhir:ElementDefinition.binding.valueSetReference [ fhir:link <http://hl7.org/fhir/ValueSet/route-codes>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/route-codes" ] ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" ] ] ], [ fhir:index 34; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.note" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.note" ]; fhir:ElementDefinition.short [ fhir:value "Text about event not captured in other fields" ]; fhir:ElementDefinition.definition [ fhir:value "Additional text about the adverse reaction event not captured in other fields." ]; fhir:ElementDefinition.comment [ fhir:value "Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "AllergyIntolerance.reaction.note" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Annotation" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "subjectOf.observationEvent[code=\"annotation\"].value" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "AllergyIntolerance" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance" ]; fhir:ElementDefinition.short [ fhir:value "An allergy or intolerance statement in an Australian healthcare context" ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "inv-ait-0" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Recorder and author related party shall not coexist" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "(extension('http://hl7.org.au/fhir/StructureDefinition/author-related-person').exists() and recorder.exists()).not()" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "AllergyIntolerance.extension:authorRelatedPerson" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.extension" ]; fhir:ElementDefinition.sliceName [ fhir:value "authorRelatedPerson" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/author-related-person" ] ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "AllergyIntolerance.code" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.code" ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding for type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies." ]; fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-1" ] ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction" ]; fhir:ElementDefinition.short [ fhir:value "Reaction details" ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.substance" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.substance" ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding defining the type of the substance (including pharmaceutical products)." ]; fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "AllergyIntolerance.reaction.manifestation" ]; fhir:ElementDefinition.path [ fhir:value "AllergyIntolerance.reaction.manifestation" ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "Preferred SNOMED-CT coding of clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event." ]; fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" ] ] ] ]. <http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/allergy-clinical-status> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/allergy-verification-status> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/allergy-intolerance-type> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/allergy-intolerance-category> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/reaction-event-severity> a fhir:ValueSet. <http://hl7.org/fhir/ValueSet/route-codes> a fhir:ValueSet. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.