This page is part of the International Patient Summary Implementation Guide (v0.3.0: STU 1 (FHIR R4) Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions
XML Format: StructureDefinition-AllergyIntolerance-uv-ips
Download Raw xml
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="AllergyIntolerance-uv-ips"/> <meta> <lastUpdated value="2018-02-14T09:58:02.283-05:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">This profile represents the constraints applied to the AllergyIntolerance resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the patient summary as an instance of an AllergyIntolerance resource constrained by this profile. It documents the relevant allergies or intolerances (conditions) for a patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy.</div> </text> <url value="http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"/> <version value="0.3.0"/> <name value="AllergyIntoleranceUvIps"/> <title value="Allergy Intolerance (IPS)"/> <status value="draft"/> <date value="2018-02-14T08:57:18-05:00"/> <description value="This profile represents the constraints applied to the AllergyIntolerance resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the patient summary as an instance of an AllergyIntolerance resource constrained by this profile. It documents the relevant allergies or intolerances (conditions) for a patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy."/> <jurisdiction> <coding> <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> <code value="001"/> <display value="World"/> </coding> </jurisdiction> <purpose value="This profile constrains the representation of a record of an allergy or intolerance of the patient, in the context of the international patient summary as specified by the IPS project of HL7 International."/> <fhirVersion value="4.0.0"/> <mapping> <identity value="rim"/> <uri value="http://hl7.org/v3"/> <name value="RIM Mapping"/> </mapping> <mapping> <identity value="w5"/> <uri value="http://hl7.org/fhir/fivews"/> <name value="FiveWs Pattern Mapping"/> </mapping> <mapping> <identity value="v2"/> <uri value="http://hl7.org/v2"/> <name value="HL7 v2 Mapping"/> </mapping> <kind value="resource"/> <abstract value="false"/> <type value="AllergyIntolerance"/> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"/> <derivation value="constraint"/> <snapshot> <element id="AllergyIntolerance"> <path value="AllergyIntolerance"/> <short value="Allergy or Intolerance (generally: Risk of adverse reaction to a substance)"/> <definition value="Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance."/> <comment 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."/> <alias value="Allergy"/> <alias value="Intolerance"/> <alias value="Adverse Reaction"/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance"/> <min value="0"/> <max value="*"/> </base> <constraint> <key value="dom-2"/> <severity value="error"/> <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> <expression value="contained.contained.empty()"/> <xpath value="not(parent::f:contained and f:contained)"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-4"/> <severity value="error"/> <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/> <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-3"/> <severity value="error"/> <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/> <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/> <xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/> <source value="DomainResource"/> </constraint> <constraint> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"> <valueBoolean value="true"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"> <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."/> </extension> <key value="dom-6"/> <severity value="warning"/> <human value="A resource should have narrative for robust management"/> <expression value="text.div.exists()"/> <xpath value="exists(f:text/h:div)"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-5"/> <severity value="error"/> <human value="If a resource is contained in another resource, it SHALL NOT have a security label"/> <expression value="contained.meta.security.empty()"/> <xpath value="not(exists(f:contained/*/f:meta/f:security))"/> <source value="DomainResource"/> </constraint> <constraint> <key value="ait-1"/> <severity value="error"/> <human value="AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error."/> <expression value="verificationStatus='entered-in-error' or clinicalStatus.exists()"/> <xpath value="f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)"/> <source value="AllergyIntolerance"/> </constraint> <constraint> <key value="ait-2"/> <severity value="error"/> <human value="AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error"/> <expression value="verificationStatus!='entered-in-error' or clinicalStatus.empty()"/> <xpath value="f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))"/> <source value="AllergyIntolerance"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="Entity. Role, or Act"/> </mapping> <mapping> <identity value="rim"/> <map value="Observation[classCode=OBS, moodCode=EVN]"/> </mapping> </element> <element id="AllergyIntolerance.id"> <path value="AllergyIntolerance.id"/> <short value="Logical id of this artifact"/> <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/> <comment 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."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="id"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta"> <path value="AllergyIntolerance.meta"/> <short value="Metadata about the resource"/> <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.meta"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Meta"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta.id"> <path value="AllergyIntolerance.meta.id"/> <representation value="xmlAttr"/> <short value="Unique id for inter-element referencing"/> <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.meta.extension"> <path value="AllergyIntolerance.meta.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <description value="Extensions are always sliced by (at least) url"/> <rules value="open"/> </slicing> <short value="Additional content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comment 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."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.meta.versionId"> <path value="AllergyIntolerance.meta.versionId"/> <short value="Version specific identifier"/> <definition value="The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted."/> <comment value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/> <min value="0"/> <max value="1"/> <base> <path value="Meta.versionId"/> <min value="0"/> <max value="1"/> </base> <type> <code value="id"/> </type> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta.lastUpdated"> <path value="AllergyIntolerance.meta.lastUpdated"/> <short value="When the resource version last changed"/> <definition value="When the resource last changed - e.g. when the version changed."/> <comment value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4/http.html#read) interaction."/> <min value="0"/> <max value="1"/> <base> <path value="Meta.lastUpdated"/> <min value="0"/> <max value="1"/> </base> <type> <code value="instant"/> </type> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta.source"> <path value="AllergyIntolerance.meta.source"/> <short value="Identifies where the resource comes from"/> <definition value="A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc."/> <comment value="In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL."/> <min value="0"/> <max value="1"/> <base> <path value="Meta.source"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta.profile"> <path value="AllergyIntolerance.meta.profile"/> <short value="Profiles this resource claims to conform to"/> <definition value="A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.url)."/> <comment value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."/> <min value="0"/> <max value="*"/> <base> <path value="Meta.profile"/> <min value="0"/> <max value="*"/> </base> <type> <code value="canonical"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/> </type> <fixedCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"/> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.meta.security"> <path value="AllergyIntolerance.meta.security"/> <short value="Security Labels applied to this resource"/> <definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/> <comment value="The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/> <min value="0"/> <max value="*"/> <base> <path value="Meta.security"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Coding"/> </type> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="SecurityLabels"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"> <valueBoolean value="true"/> </extension> <strength value="extensible"/> <description value="Security Labels from the Healthcare Privacy and Security Classification System."/> <valueSet value="http://hl7.org/fhir/ValueSet/security-labels"/> </binding> </element> <element id="AllergyIntolerance.meta.tag"> <path value="AllergyIntolerance.meta.tag"/> <short value="Tags applied to this resource"/> <definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/> <comment value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/> <min value="0"/> <max value="*"/> <base> <path value="Meta.tag"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Coding"/> </type> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Tags"/> </extension> <strength value="example"/> <description value="Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"."/> <valueSet value="http://hl7.org/fhir/ValueSet/common-tags"/> </binding> </element> <element id="AllergyIntolerance.implicitRules"> <path value="AllergyIntolerance.implicitRules"/> <short value="A set of rules under which this content was created"/> <definition 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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/> <comment 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.implicitRules"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <isModifier value="true"/> <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/> <isSummary value="true"/> </element> <element id="AllergyIntolerance.language"> <path value="AllergyIntolerance.language"/> <short value="Language of the resource content"/> <definition value="The base language in which the resource is written."/> <comment 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)."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.language"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <isModifier value="false"/> <isSummary value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"> <valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Language"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"> <valueBoolean value="true"/> </extension> <strength value="preferred"/> <description value="A human language."/> <valueSet value="http://hl7.org/fhir/ValueSet/languages"/> </binding> </element> <element id="AllergyIntolerance.text"> <path value="AllergyIntolerance.text"/> <short value="Text summary of the resource, for human interpretation"/> <definition value="A human-readable narrative that contains a summary of the resource and can 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."/> <comment 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 information is added later."/> <alias value="narrative"/> <alias value="html"/> <alias value="xhtml"/> <alias value="display"/> <min value="0"/> <max value="1"/> <base> <path value="DomainResource.text"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Narrative"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="Act.text?"/> </mapping> </element> <element id="AllergyIntolerance.contained"> <path value="AllergyIntolerance.contained"/> <short value="Contained, inline Resources"/> <definition 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."/> <comment 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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels."/> <alias value="inline resources"/> <alias value="anonymous resources"/> <alias value="contained resources"/> <min value="0"/> <max value="*"/> <base> <path value="DomainResource.contained"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Resource"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.extension"> <path value="AllergyIntolerance.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <ordered value="false"/> <rules value="open"/> </slicing> <short value="Extension"/> <definition value="An Extension"/> <min value="0"/> <max value="*"/> <base> <path value="DomainResource.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> </element> <element id="AllergyIntolerance.extension:abatement-datetime"> <path value="AllergyIntolerance.extension"/> <sliceName value="abatement-datetime"/> <short value="Abatement datetime"/> <definition value="The date or estimated date that the condition resolved or went into remission."/> <min value="0"/> <max value="1"/> <base> <path value="DomainResource.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <constraint> <key value="ext-1"/> <severity value="error"/> <human value="Must have either extensions or value[x], not both"/> <expression value="extension.exists() != value.exists()"/> <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/> <source value="Extension"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.modifierExtension"> <path value="AllergyIntolerance.modifierExtension"/> <short value="Extensions that cannot be ignored"/> <definition 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/> <comment 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."/> <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="DomainResource.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.identifier"> <path value="AllergyIntolerance.identifier"/> <short value="External ids for this item"/> <definition value="Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server."/> <comment value="This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number."/> <requirements value="Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers."/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance.identifier"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Identifier"/> </type> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="w5"/> <map value="FiveWs.identifier"/> </mapping> <mapping> <identity value="v2"/> <map value="IAM-7"/> </mapping> <mapping> <identity value="rim"/> <map value="id"/> </mapping> </element> <element id="AllergyIntolerance.clinicalStatus"> <path value="AllergyIntolerance.clinicalStatus"/> <short value="Concept - reference to a terminology or just text"/> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.clinicalStatus"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceClinicalStatus"/> </extension> <strength value="required"/> <description value="The clinical status of the allergy or intolerance."/> <valueSet value="http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.0"/> </binding> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE"/> </mapping> <mapping> <identity value="rim"/> <map value="CD"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> </mapping> </element> <element id="AllergyIntolerance.verificationStatus"> <path value="AllergyIntolerance.verificationStatus"/> <short value="Concept - reference to a terminology or just text"/> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <comment value="In the scope of the IPS the entered-in-error concept is not allowed."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.verificationStatus"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceVerificationStatus"/> </extension> <strength value="required"/> <description value="Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance."/> <valueSet value="http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.0"/> </binding> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE"/> </mapping> <mapping> <identity value="rim"/> <map value="CD"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> </mapping> </element> <element id="AllergyIntolerance.type"> <path value="AllergyIntolerance.type"/> <short value="allergy | intolerance - Underlying mechanism (if known)"/> <definition value="Identification of the underlying physiological mechanism for the reaction risk."/> <comment 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 might 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 might 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."/> <alias value="Category"/> <alias value="Class"/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.type"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceType"/> </extension> <strength value="required"/> <description value="Identification of the underlying physiological mechanism for a Reaction Risk."/> <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.0"/> </binding> <mapping> <identity value="w5"/> <map value="FiveWs.class"/> </mapping> <mapping> <identity value="v2"/> <map value="IAM-9"/> </mapping> <mapping> <identity value="rim"/> <map value="code"/> </mapping> </element> <element id="AllergyIntolerance.category"> <path value="AllergyIntolerance.category"/> <short value="food | medication | environment | biologic"/> <definition value="Category of the identified substance."/> <comment 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/R4/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."/> <alias value="Category"/> <alias value="Type"/> <alias value="Reaction Type"/> <alias value="Class"/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance.category"/> <min value="0"/> <max value="*"/> </base> <type> <code value="code"/> </type> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceCategory"/> </extension> <strength value="required"/> <description value="Category of an identified substance associated with allergies or intolerances."/> <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.0"/> </binding> <mapping> <identity value="w5"/> <map value="FiveWs.class"/> </mapping> <mapping> <identity value="v2"/> <map value="AL1-2"/> </mapping> <mapping> <identity value="rim"/> <map value="value < IntoleranceValue (Agent)"/> </mapping> </element> <element id="AllergyIntolerance.criticality"> <path value="AllergyIntolerance.criticality"/> <short value="low | high | unable-to-assess"/> <definition value="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance."/> <comment 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). Systems 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."/> <alias value="Severity"/> <alias value="Seriousness"/> <alias value="Contra-indication"/> <alias value="Risk"/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.criticality"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceCriticality"/> </extension> <strength value="required"/> <description value="Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance."/> <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.0"/> </binding> <mapping> <identity value="w5"/> <map value="FiveWs.grade"/> </mapping> <mapping> <identity value="v2"/> <map value="AL1-4"/> </mapping> <mapping> <identity value="rim"/> <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"/> </mapping> </element> <element id="AllergyIntolerance.code"> <path value="AllergyIntolerance.code"/> <slicing> <discriminator> <type value="value"/> <path value="coding.system"/> </discriminator> <description value="Discriminated by code system"/> <rules value="open"/> </slicing> <short value="Concept - reference to a terminology or just text"/> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <min value="1"/> <max value="1"/> <base> <path value="AllergyIntolerance.code"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceCode"/> </extension> <strength value="preferred"/> <description value="Type of the substance/product, allergy or intolerance condition."/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips"/> </binding> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE"/> </mapping> <mapping> <identity value="rim"/> <map value="CD"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy"> <path value="AllergyIntolerance.code"/> <sliceName value="absentOrUnknownAllergy"/> <short value="Code for absent or unknown allergy or intolerance"/> <definition value="Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This describes a categorical negated statement (e.g., "No known allergy")."/> <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.code"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="absentOrUnknownAllergy"/> </extension> <strength value="required"/> <description value="negation/exclusion codes for reporting no known allergies or not available data."/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips"/> </binding> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE"/> </mapping> <mapping> <identity value="rim"/> <map value="CD"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.id"> <path value="AllergyIntolerance.code.id"/> <representation value="xmlAttr"/> <short value="Unique id for inter-element referencing"/> <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.extension"> <path value="AllergyIntolerance.code.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <description value="Extensions are always sliced by (at least) url"/> <rules value="open"/> </slicing> <short value="Additional content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comment 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."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding"> <path value="AllergyIntolerance.code.coding"/> <short value="A reference to a code defined by a terminology system"/> <definition value="A reference to a code defined by a terminology system."/> <comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information."/> <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/> <min value="1"/> <max value="1"/> <base> <path value="CodeableConcept.coding"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Coding"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Coding-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/> </mapping> <mapping> <identity value="rim"/> <map value="CV"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.id"> <path value="AllergyIntolerance.code.coding.id"/> <representation value="xmlAttr"/> <short value="Unique id for inter-element referencing"/> <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.extension"> <path value="AllergyIntolerance.code.coding.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <description value="Extensions are always sliced by (at least) url"/> <rules value="open"/> </slicing> <short value="Additional content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comment 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."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.system"> <path value="AllergyIntolerance.code.coding.system"/> <short value="Identity of the terminology system"/> <definition value="The identification of the code system that defines the meaning of the symbol in the code."/> <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously."/> <requirements value="Need to be unambiguous about the source of the definition of the symbol."/> <min value="1"/> <max value="1"/> <base> <path value="Coding.system"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <fixedUri value="http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips"/> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="C*E.3"/> </mapping> <mapping> <identity value="rim"/> <map value="./codeSystem"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.version"> <path value="AllergyIntolerance.code.coding.version"/> <short value="Version of the system - if relevant"/> <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/> <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/> <min value="0"/> <max value="1"/> <base> <path value="Coding.version"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="C*E.7"/> </mapping> <mapping> <identity value="rim"/> <map value="./codeSystemVersion"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.code"> <path value="AllergyIntolerance.code.coding.code"/> <short value="Symbol in syntax defined by the system"/> <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/> <requirements value="Need to refer to a particular code in the system."/> <min value="0"/> <max value="1"/> <base> <path value="Coding.code"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="C*E.1"/> </mapping> <mapping> <identity value="rim"/> <map value="./code"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.display"> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"> <valueBoolean value="true"/> </extension> <path value="AllergyIntolerance.code.coding.display"/> <short value="Representation defined by the system"/> <definition value="A representation of the meaning of the code in the system, following the rules of the system."/> <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/> <min value="0"/> <max value="1"/> <base> <path value="Coding.display"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="C*E.2 - but note this is not well followed"/> </mapping> <mapping> <identity value="rim"/> <map value="CV.displayName"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.display.id"> <path value="AllergyIntolerance.code.coding.display.id"/> <representation value="xmlAttr"/> <short value="xml:id (or equivalent in JSON)"/> <definition value="unique id for the element within a resource (for internal references)"/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.display.extension"> <path value="AllergyIntolerance.code.coding.display.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <rules value="open"/> </slicing> <short value="Extension"/> <definition value="An Extension"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.display.extension:translation"> <path value="AllergyIntolerance.code.coding.display.extension"/> <sliceName value="translation"/> <short value="Language Translation (Localization)"/> <definition value="Language translation from base language of resource to another language."/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> <profile value="http://hl7.org/fhir/StructureDefinition/translation"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <constraint> <key value="ext-1"/> <severity value="error"/> <human value="Must have either extensions or value[x], not both"/> <expression value="extension.exists() != value.exists()"/> <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/> <source value="Extension"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="ST.translation"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.display.value"> <path value="AllergyIntolerance.code.coding.display.value"/> <representation value="xmlAttr"/> <short value="Primitive value for string"/> <definition value="The actual value"/> <min value="0"/> <max value="1"/> <base> <path value="string.value"/> <min value="0"/> <max value="1"/> </base> <type> <extension url="http://hl7.org/fhir/StructureDefinition/regex"> <valueString value="[ \r\n\t\S]+"/> </extension> <code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="string"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> <valueString value="xsd:string"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type"> <valueString value="xsd:string"/> </extension> </code> </type> <maxLength value="1048576"/> <isModifier value="false"/> <isSummary value="false"/> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.userSelected"> <path value="AllergyIntolerance.code.coding.userSelected"/> <short value="If this coding was chosen directly by the user"/> <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/> <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/> <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/> <min value="0"/> <max value="1"/> <base> <path value="Coding.userSelected"/> <min value="0"/> <max value="1"/> </base> <type> <code value="boolean"/> </type> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="Sometimes implied by being first"/> </mapping> <mapping> <identity value="rim"/> <map value="CD.codingRationale"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]"/> </mapping> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.text"> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"> <valueBoolean value="true"/> </extension> <path value="AllergyIntolerance.code.text"/> <short value="Plain text representation of the concept"/> <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/> <comment value="Very often the text is the same as a displayName of one of the codings."/> <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/> <min value="0"/> <max value="1"/> <base> <path value="CodeableConcept.text"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="v2"/> <map value="C*E.9. But note many systems use C*E.2 for this"/> </mapping> <mapping> <identity value="rim"/> <map value="./originalText[mediaType/code="text/plain"]/data"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/> </mapping> </element> <element id="AllergyIntolerance.patient"> <path value="AllergyIntolerance.patient"/> <short value="Who the sensitivity is for"/> <definition value="The patient who has the allergy or intolerance."/> <alias value="Patient"/> <min value="1"/> <max value="1"/> <base> <path value="AllergyIntolerance.patient"/> <min value="1"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="w5"/> <map value="FiveWs.subject[x]"/> </mapping> <mapping> <identity value="v2"/> <map value="(PID-3)"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=SBJ].role[classCode=PAT]"/> </mapping> <mapping> <identity value="w5"/> <map value="FiveWs.subject"/> </mapping> </element> <element id="AllergyIntolerance.patient.id"> <path value="AllergyIntolerance.patient.id"/> <representation value="xmlAttr"/> <short value="Unique id for inter-element referencing"/> <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.patient.extension"> <path value="AllergyIntolerance.patient.extension"/> <slicing> <discriminator> <type value="value"/> <path value="url"/> </discriminator> <description value="Extensions are always sliced by (at least) url"/> <rules value="open"/> </slicing> <short value="Additional content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comment 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."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.patient.reference"> <path value="AllergyIntolerance.patient.reference"/> <short value="Literal reference, Relative, internal or absolute URL"/> <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/> <comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/> <min value="1"/> <max value="1"/> <base> <path value="Reference.reference"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <condition value="ref-1"/> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.patient.type"> <path value="AllergyIntolerance.patient.type"/> <short value="Type the reference refers to (e.g. "Patient")"/> <definition value="The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)."/> <comment value="This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified."/> <min value="0"/> <max value="1"/> <base> <path value="Reference.type"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="FHIRResourceTypeExt"/> </extension> <strength value="extensible"/> <description value="Aa resource (or, for logical models, the URI of the logical model)."/> <valueSet value="http://hl7.org/fhir/ValueSet/resource-types"/> </binding> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.patient.identifier"> <path value="AllergyIntolerance.patient.identifier"/> <short value="Logical reference, when literal reference is not known"/> <definition value="An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/> <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)."/> <min value="0"/> <max value="1"/> <base> <path value="Reference.identifier"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Identifier"/> </type> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value=".identifier"/> </mapping> </element> <element id="AllergyIntolerance.patient.display"> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"> <valueBoolean value="true"/> </extension> <path value="AllergyIntolerance.patient.display"/> <short value="Text alternative for the resource"/> <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/> <comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/> <min value="0"/> <max value="1"/> <base> <path value="Reference.display"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.encounter"> <path value="AllergyIntolerance.encounter"/> <short value="Encounter when the allergy or intolerance was asserted"/> <definition value="The encounter when the allergy or intolerance was asserted."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.encounter"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="w5"/> <map value="FiveWs.context"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/> </mapping> </element> <element id="AllergyIntolerance.onset[x]"> <path value="AllergyIntolerance.onset[x]"/> <slicing> <discriminator> <type value="type"/> <path value="$this"/> </discriminator> <ordered value="false"/> <rules value="closed"/> </slicing> <short value="When allergy or intolerance was identified"/> <definition value="Estimated or actual date, date-time, or age when allergy or intolerance was identified."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.onset[x]"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="w5"/> <map value="FiveWs.init"/> </mapping> <mapping> <identity value="rim"/> <map value="effectiveTime.low"/> </mapping> </element> <element id="AllergyIntolerance.onset[x]:onsetDateTime"> <path value="AllergyIntolerance.onset[x]"/> <sliceName value="onsetDateTime"/> <short value="When allergy or intolerance was identified"/> <definition value="Estimated or actual date, date-time, or age when allergy or intolerance was identified."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.onset[x]"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="w5"/> <map value="FiveWs.init"/> </mapping> <mapping> <identity value="rim"/> <map value="effectiveTime.low"/> </mapping> </element> <element id="AllergyIntolerance.recordedDate"> <path value="AllergyIntolerance.recordedDate"/> <short value="Date first version of the resource instance was recorded"/> <definition value="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.recordedDate"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="w5"/> <map value="FiveWs.recorded"/> </mapping> <mapping> <identity value="v2"/> <map value="IAM-13"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].time"/> </mapping> </element> <element id="AllergyIntolerance.recorder"> <path value="AllergyIntolerance.recorder"/> <short value="Who recorded the sensitivity"/> <definition value="Individual who recorded the record and takes responsibility for its content."/> <alias value="Author"/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.recorder"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="w5"/> <map value="FiveWs.author"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].role"/> </mapping> </element> <element id="AllergyIntolerance.asserter"> <path value="AllergyIntolerance.asserter"/> <short value="Source of the information about the allergy"/> <definition value="The source of the information about the allergy that is recorded."/> <comment value="The recorder takes responsibility for the content, but can reference the source from where they got it."/> <alias value="Source"/> <alias value="Informant"/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.asserter"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="true"/> <mapping> <identity value="w5"/> <map value="FiveWs.source"/> </mapping> <mapping> <identity value="v2"/> <map value="IAM-14 (if patient) / IAM-18 (if practitioner)"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=INF].role"/> </mapping> </element> <element id="AllergyIntolerance.lastOccurrence"> <path value="AllergyIntolerance.lastOccurrence"/> <short value="Date(/time) of last known occurrence of a reaction"/> <definition value="Represents the date and/or time of the last known occurrence of a reaction event."/> <comment 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."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.lastOccurrence"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime"/> </mapping> </element> <element id="AllergyIntolerance.note"> <path value="AllergyIntolerance.note"/> <short value="Additional text not captured in other fields"/> <definition value="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields."/> <comment 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."/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance.note"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Annotation"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="subjectOf.observationEvent[code="annotation"].value"/> </mapping> </element> <element id="AllergyIntolerance.reaction"> <path value="AllergyIntolerance.reaction"/> <short value="Adverse Reaction Events linked to exposure to substance"/> <definition value="Details about each adverse reaction event linked to exposure to the identified substance."/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance.reaction"/> <min value="0"/> <max value="*"/> </base> <type> <code value="BackboneElement"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]"/> </mapping> </element> <element id="AllergyIntolerance.reaction.id"> <path value="AllergyIntolerance.reaction.id"/> <representation value="xmlAttr"/> <short value="Unique id for inter-element referencing"/> <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.reaction.extension"> <path value="AllergyIntolerance.reaction.extension"/> <short value="Additional content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comment 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."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="AllergyIntolerance.reaction.modifierExtension"> <path value="AllergyIntolerance.reaction.modifierExtension"/> <short value="Extensions that cannot be ignored even if unrecognized"/> <definition 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/> <comment 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."/> <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="AllergyIntolerance.reaction.substance"> <path value="AllergyIntolerance.reaction.substance"/> <short value="Specific substance or pharmaceutical product considered to be responsible for event"/> <definition 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'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance."/> <comment 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 identified 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'."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.reaction.substance"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <isSummary value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="SubstanceCode"/> </extension> <strength value="example"/> <description value="Codes defining the type of the substance (including pharmaceutical products)."/> <valueSet value="http://hl7.org/fhir/ValueSet/substance-code"/> </binding> <mapping> <identity value="rim"/> <map value="outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"/> </mapping> </element> <element id="AllergyIntolerance.reaction.manifestation"> <path value="AllergyIntolerance.reaction.manifestation"/> <short value="Concept - reference to a terminology or just text"/> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <min value="1"/> <max value="*"/> <base> <path value="AllergyIntolerance.reaction.manifestation"/> <min value="1"/> <max value="*"/> </base> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <condition value="ele-1"/> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mustSupport value="true"/> <isModifier value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Manifestation"/> </extension> <strength value="preferred"/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips"/> </binding> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> <mapping> <identity value="v2"/> <map value="CE/CNE/CWE"/> </mapping> <mapping> <identity value="rim"/> <map value="CD"/> </mapping> <mapping> <identity value="orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> </mapping> </element> <element id="AllergyIntolerance.reaction.description"> <path value="AllergyIntolerance.reaction.description"/> <short value="Description of the event as a whole"/> <definition value="Text description about the reaction as a whole, including details of the manifestation if required."/> <comment 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."/> <alias value="Narrative"/> <alias value="Text"/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.reaction.description"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="text"/> </mapping> </element> <element id="AllergyIntolerance.reaction.onset"> <path value="AllergyIntolerance.reaction.onset"/> <short value="Date(/time) when manifestations showed"/> <definition value="Record of the date and/or time of the onset of the Reaction."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.reaction.onset"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="v2"/> <map value="AL1-6"/> </mapping> <mapping> <identity value="rim"/> <map value="effectiveTime.low"/> </mapping> </element> <element id="AllergyIntolerance.reaction.severity"> <path value="AllergyIntolerance.reaction.severity"/> <short value="mild | moderate | severe (of event as a whole)"/> <definition value="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations."/> <comment value="It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.reaction.severity"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isModifier value="false"/> <isSummary value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceSeverity"/> </extension> <strength value="required"/> <description value="Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations."/> <valueSet value="http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.0"/> </binding> <mapping> <identity value="rim"/> <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"/> </mapping> </element> <element id="AllergyIntolerance.reaction.exposureRoute"> <path value="AllergyIntolerance.reaction.exposureRoute"/> <short value="How the subject was exposed to the substance"/> <definition value="Identification of the route by which the subject was exposed to the substance."/> <comment value="Coding of the route of exposure with a terminology should be used wherever possible."/> <min value="0"/> <max value="1"/> <base> <path value="AllergyIntolerance.reaction.exposureRoute"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <isSummary value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="RouteOfAdministration"/> </extension> <strength value="example"/> <description value="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject."/> <valueSet value="http://hl7.org/fhir/ValueSet/route-codes"/> </binding> <mapping> <identity value="rim"/> <map value="outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode"/> </mapping> </element> <element id="AllergyIntolerance.reaction.note"> <path value="AllergyIntolerance.reaction.note"/> <short value="Text about event not captured in other fields"/> <definition value="Additional text about the adverse reaction event not captured in other fields."/> <comment 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."/> <min value="0"/> <max value="*"/> <base> <path value="AllergyIntolerance.reaction.note"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Annotation"/> </type> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="subjectOf.observationEvent[code="annotation"].value"/> </mapping> </element> </snapshot> <differential> <element id="AllergyIntolerance"> <path value="AllergyIntolerance"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.id"> <path value="AllergyIntolerance.id"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.meta"> <path value="AllergyIntolerance.meta"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.meta.profile"> <path value="AllergyIntolerance.meta.profile"/> <fixedCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.extension:abatement-datetime"> <path value="AllergyIntolerance.extension"/> <sliceName value="abatement-datetime"/> <short value="Abatement datetime"/> <definition value="The date or estimated date that the condition resolved or went into remission."/> <max value="1"/> <type> <code value="Extension"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips"/> </type> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.clinicalStatus"> <path value="AllergyIntolerance.clinicalStatus"/> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.verificationStatus"> <path value="AllergyIntolerance.verificationStatus"/> <comment value="In the scope of the IPS the entered-in-error concept is not allowed."/> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.type"> <path value="AllergyIntolerance.type"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.criticality"> <path value="AllergyIntolerance.criticality"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.code"> <path value="AllergyIntolerance.code"/> <slicing> <discriminator> <type value="value"/> <path value="coding.system"/> </discriminator> <description value="Discriminated by code system"/> <rules value="open"/> </slicing> <min value="1"/> <max value="1"/> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="AllergyIntoleranceCode"/> </extension> <strength value="preferred"/> <description value="Type of the substance/product, allergy or intolerance condition."/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips"/> </binding> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy"> <path value="AllergyIntolerance.code"/> <sliceName value="absentOrUnknownAllergy"/> <short value="Code for absent or unknown allergy or intolerance"/> <definition value="Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This describes a categorical negated statement (e.g., "No known allergy")."/> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="absentOrUnknownAllergy"/> </extension> <strength value="required"/> <description value="negation/exclusion codes for reporting no known allergies or not available data."/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips"/> </binding> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding"> <path value="AllergyIntolerance.code.coding"/> <min value="1"/> <max value="1"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.code:absentOrUnknownAllergy.coding.system"> <path value="AllergyIntolerance.code.coding.system"/> <min value="1"/> <max value="1"/> <fixedUri value="http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.patient"> <path value="AllergyIntolerance.patient"/> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"/> </type> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.patient.reference"> <path value="AllergyIntolerance.patient.reference"/> <min value="1"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.onsetDateTime"> <path value="AllergyIntolerance.onsetDateTime"/> <type> <code value="dateTime"/> </type> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.asserter"> <path value="AllergyIntolerance.asserter"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.reaction"> <path value="AllergyIntolerance.reaction"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.reaction.manifestation"> <path value="AllergyIntolerance.reaction.manifestation"/> <type> <code value="CodeableConcept"/> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/> </type> <mustSupport value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Manifestation"/> </extension> <strength value="preferred"/> <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips"/> </binding> </element> <element id="AllergyIntolerance.reaction.onset"> <path value="AllergyIntolerance.reaction.onset"/> <mustSupport value="true"/> </element> <element id="AllergyIntolerance.reaction.severity"> <path value="AllergyIntolerance.reaction.severity"/> <mustSupport value="true"/> </element> </differential> </StructureDefinition>