<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="profiles-others"/>
  <meta>
    <lastUpdated value="2026-06-18T02:37:58.694+00:00"/>
  </meta>
  <type value="collection"/>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"/>
    <resource>
      <StructureDefinition>
        <id value="familymemberhistory-genetic"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="2"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cg"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1229"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="FamilyMemberHistoryForGeneticsAnalysis"/>
        <title value="Family member history for genetics analysis"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2019-05-29"/>
        <publisher value="HL7 International / Clinical Genomics"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/clingenomics"/>
          </telecom>
        </contact>
        <description value="Adds additional information to a family member history supporting both the capture of mother/father relationships as well as additional observations necessary to enable genetics-based risk analysis for patients"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="FamilyMemberHistory"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="FamilyMemberHistory">
            <path value="FamilyMemberHistory"/>
            <short value="Information about patient's relatives, relevant for patient"/>
            <definition value="Significant health conditions for a person related to the patient relevant in the context of care for the patient."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="fhs-1"/>
              <severity value="error"/>
              <human value="Can have age[x] or born[x], but not both"/>
              <expression value="age.empty() or born.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"/>
            </constraint>
            <constraint>
              <key value="fhs-3"/>
              <severity value="error"/>
              <human value="Can have age[x] or deceased[x], but not both"/>
              <expression value="age.empty() or deceased.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.general"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Not in scope for v2"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.id">
            <path value="FamilyMemberHistory.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="FamilyMemberHistory.meta">
            <path value="FamilyMemberHistory.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="FamilyMemberHistory.implicitRules">
            <path value="FamilyMemberHistory.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="FamilyMemberHistory.language">
            <path value="FamilyMemberHistory.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="FamilyMemberHistory.text">
            <path value="FamilyMemberHistory.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.contained">
            <path value="FamilyMemberHistory.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.extension">
            <path value="FamilyMemberHistory.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.extension:parent">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="parent"/>
            <short value="Mother(s) &amp; Father(s) - genetic &amp; other"/>
            <definition value="Identifies a parent of the relative."/>
            <comment value="Some individuals may have more than two parents (e.g. genetic vs. adoptive parents).  Even non-genetic relationships can be relevant in terms of genetic exposure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="player[classCode&lt;LIV, determinerCode=INSTANCE].scopesRole"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.extension:sibling">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="sibling"/>
            <short value="natural brother(s) &amp; natural sister(s) - genetic &amp; other"/>
            <definition value="Identifies a sibling of the relative."/>
            <comment value="Some cases may have complex inner-pedigree-tree relationship. For instance, double cousin relationship need two extra link with In pedigree tree itself. This can't be revealed by relationship to subject."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.extension:observations">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="observations"/>
            <short value="Genetic markers, ethnicity, etc."/>
            <definition value="Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc."/>
            <comment value="This may be extended with additional genomics-specific resources when they are ready."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SUBJ].source"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.modifierExtension">
            <path value="FamilyMemberHistory.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.identifier">
            <path value="FamilyMemberHistory.identifier"/>
            <short value="External Id(s) for this record"/>
            <definition value="Business identifiers assigned to this family member history 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](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 family member history 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="FamilyMemberHistory.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.status">
            <path value="FamilyMemberHistory.status"/>
            <short value="partial | completed | entered-in-error | health-unknown"/>
            <definition value="A code specifying the status of the record of the family history of a specific family member."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FamilyHistoryStatus"/>
              </extension>
              <strength value="required"/>
              <description value="A code that identifies the status of the family history record."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/history-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.dataAbsentReason">
            <path value="FamilyMemberHistory.dataAbsentReason"/>
            <short value="subject-unknown | withheld | unable-to-obtain | deferred"/>
            <definition value="Describes why the family member's history is not available."/>
            <requirements value="This is a separate element to allow it to have a distinct binding from reasonCode."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FamilyHistoryAbsentReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes describing the reason why a family member's history is not available."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/history-absent-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.patient">
            <path value="FamilyMemberHistory.patient"/>
            <short value="Patient history is about"/>
            <definition value="The person who this history concerns."/>
            <comment value="This is not the family member."/>
            <alias value="Proband"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.patient"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ].role"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.date">
            <path value="FamilyMemberHistory.date"/>
            <short value="When history was recorded or last updated"/>
            <definition value="The date (and possibly time) when the family member history was recorded or last updated."/>
            <comment value="This should be captured even if the same as the date on the List aggregating the full family history."/>
            <requirements value="Allows determination of how current the summary is."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.date"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.recorder">
            <path value="FamilyMemberHistory.recorder"/>
            <short value="Who recorded the family member history"/>
            <definition value="Individual who recorded the record and takes responsibility for its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.author"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.asserter">
            <path value="FamilyMemberHistory.asserter"/>
            <short value="Person or device that asserts this family member history"/>
            <definition value="Individual or device that is making the family member history statement."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.asserter"/>
              <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.source"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="REL-7.1 identifier + REL-7.12 type code"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=INF].role"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.name">
            <path value="FamilyMemberHistory.name"/>
            <short value="The family member described"/>
            <definition value="This will either be a name or a description; e.g. &quot;Aunt Susan&quot;, &quot;my cousin with the red hair&quot;."/>
            <requirements value="Allows greater ease in ensuring the same person is being talked about."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="name"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.relationship">
            <path value="FamilyMemberHistory.relationship"/>
            <short value="Relationship to the subject"/>
            <definition value="The type of relationship this person has to the patient (father, mother, brother etc.)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.relationship"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FamilialRelationship"/>
              </extension>
              <strength value="example"/>
              <description value="The nature of the relationship between the patient and the related person being described in the family member history."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/v3-FamilyMember"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.sex">
            <path value="FamilyMemberHistory.sex"/>
            <short value="female-typical | male-typical | specified | unknown"/>
            <definition value="A context-specific sex value for the family member which can inform clinical decision making in relation to treatment of the patient. This element SHALL NOT be used to reflect the family member's gender identity."/>
            <comment value="This element should ideally reflect the family member's sex characteristics. However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported sex might not be totally accurate. E.g. 'Aunt Sue' might be XY rather than XX. Questions soliciting this information should be phrased to encourage capture of genetic sex where known. However, systems performing analysis should also allow for the possibility of imprecision with this element."/>
            <requirements value="Not all relationship codes imply sex and the relative's sex can be relevant for risk assessments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.sex"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Sex"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes describing the sex values appropriate in this context"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/sex-parameter-for-clinical-use"/>
            </binding>
          </element>
          <element id="FamilyMemberHistory.born[x]">
            <path value="FamilyMemberHistory.born[x]"/>
            <short value="(approximate) date of birth"/>
            <definition value="The actual or approximate date of birth of the relative."/>
            <requirements value="Allows calculation of the relative's age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.born[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <condition value="fhs-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.age[x]">
            <path value="FamilyMemberHistory.age[x]"/>
            <short value="(approximate) age"/>
            <definition value="The age of the relative at the time the family member history is recorded."/>
            <requirements value="While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.age[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <condition value="fhs-1"/>
            <condition value="fhs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.deceased[x]">
            <path value="FamilyMemberHistory.deceased[x]"/>
            <short value="Dead? How old/when?"/>
            <definition value="Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.deceased[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <condition value="fhs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)  For age, you'd hang an observation off the role"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.reason">
            <path value="FamilyMemberHistory.reason"/>
            <short value="Why was family member history performed?"/>
            <definition value="Describes why the family member history occurred in coded or textual form, or Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event."/>
            <comment value="Textual reasons can be captured using reasonCode.text."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.reason"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FamilyHistoryReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes indicating why the family member history was done."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.reason"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.note">
            <path value="FamilyMemberHistory.note"/>
            <short value="General note about related person"/>
            <definition value="This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition">
            <path value="FamilyMemberHistory.condition"/>
            <short value="Condition that the related person had"/>
            <definition value="The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.condition"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value&lt;Diagnosis]"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.id">
            <path value="FamilyMemberHistory.condition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.extension">
            <path value="FamilyMemberHistory.condition.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.modifierExtension">
            <path value="FamilyMemberHistory.condition.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="FamilyMemberHistory.condition.code">
            <path value="FamilyMemberHistory.condition.code"/>
            <short value="Condition, allergy, or intolerance suffered by relation"/>
            <definition value="The actual condition, allergy, or intolerance specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.condition.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConditionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Identification of the Condition or diagnosis."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".value"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.outcome">
            <path value="FamilyMemberHistory.condition.outcome"/>
            <short value="deceased | permanent disability | etc"/>
            <definition value="Indicates what happened following the condition.  If the condition resulted in death, deceased date is captured on the relation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.condition.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConditionOutcome"/>
              </extension>
              <strength value="example"/>
              <description value="The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-outcome"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.contributedToDeath">
            <path value="FamilyMemberHistory.condition.contributedToDeath"/>
            <short value="Whether the condition contributed to the cause of death"/>
            <definition value="This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.condition.contributedToDeath"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.condition.onset[x]">
            <path value="FamilyMemberHistory.condition.onset[x]"/>
            <short value="When condition first manifested"/>
            <definition value="Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence."/>
            <requirements value="Age of onset of a condition in relatives is predictive of risk for the patient."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.condition.onset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;Subject Age at measurement&quot;, value&lt;Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS']  Use originalText for string"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.condition.note">
            <path value="FamilyMemberHistory.condition.note"/>
            <short value="Extra information about condition"/>
            <definition value="An area where general notes can be placed about this specific condition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.condition.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.procedure">
            <path value="FamilyMemberHistory.procedure"/>
            <short value="Procedures that the related person had"/>
            <definition value="The significant Procedures (or procedure) that the family member had. This is a repeating section to allow a system to represent more than one procedure per resource, though there is nothing stopping multiple resources - one per procedure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.procedure"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.procedure.id">
            <path value="FamilyMemberHistory.procedure.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.procedure.extension">
            <path value="FamilyMemberHistory.procedure.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.procedure.modifierExtension">
            <path value="FamilyMemberHistory.procedure.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="FamilyMemberHistory.procedure.code">
            <path value="FamilyMemberHistory.procedure.code"/>
            <short value="Procedures performed on the related person"/>
            <definition value="The actual procedure specified. Could be a coded procedure or a less specific string depending on how much is known about the procedure and the capabilities of the creating system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.procedure.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProcedureCode"/>
              </extension>
              <strength value="example"/>
              <description value="A code to identify a specific procedure."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/procedure-code"/>
            </binding>
          </element>
          <element id="FamilyMemberHistory.procedure.outcome">
            <path value="FamilyMemberHistory.procedure.outcome"/>
            <short value="What happened following the procedure"/>
            <definition value="Indicates what happened following the procedure. If the procedure resulted in death, deceased date is captured on the relation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.procedure.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProcedureOutcome"/>
              </extension>
              <strength value="example"/>
              <description value="The result of the procedure; e.g. death, permanent disability, temporary disability, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
          </element>
          <element id="FamilyMemberHistory.procedure.contributedToDeath">
            <path value="FamilyMemberHistory.procedure.contributedToDeath"/>
            <short value="Whether the procedure contributed to the cause of death"/>
            <definition value="This procedure contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.procedure.contributedToDeath"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.procedure.performed[x]">
            <path value="FamilyMemberHistory.procedure.performed[x]"/>
            <short value="When the procedure was performed"/>
            <definition value="Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.procedure.performed[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="dateTime"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="FamilyMemberHistory.procedure.note">
            <path value="FamilyMemberHistory.procedure.note"/>
            <short value="Extra information about the procedure"/>
            <definition value="An area where general notes can be placed about this specific procedure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.procedure.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
        </snapshot>
        <differential>
          <element id="FamilyMemberHistory">
            <path value="FamilyMemberHistory"/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="FamilyMemberHistory.extension:parent">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="parent"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.extension:sibling">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="sibling"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.extension:observations">
            <path value="FamilyMemberHistory.extension"/>
            <sliceName value="observations"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.relationship">
            <path value="FamilyMemberHistory.relationship"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.sex">
            <path value="FamilyMemberHistory.sex"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.born[x]">
            <path value="FamilyMemberHistory.born[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.age[x]">
            <path value="FamilyMemberHistory.age[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.deceased[x]">
            <path value="FamilyMemberHistory.deceased[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.condition">
            <path value="FamilyMemberHistory.condition"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.condition.code">
            <path value="FamilyMemberHistory.condition.code"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.condition.outcome">
            <path value="FamilyMemberHistory.condition.outcome"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.condition.onset[x]">
            <path value="FamilyMemberHistory.condition.onset[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="FamilyMemberHistory.condition.note">
            <path value="FamilyMemberHistory.condition.note"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"/>
    <resource>
      <StructureDefinition>
        <id value="provenance-relevant-history"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="6"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="informative"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1318"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="ProvenanceRelevantHistory"/>
        <title value="Provenance  Relevant  History"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2025-11-01"/>
        <publisher value="Health Level Seven International"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/Committees/fhir-i"/>
          </telecom>
        </contact>
        <description value="This profile is provided for guidance purposes only.  There is no expectation that implementers must adhere to this profile.  It is included in the specification to help implementers understand how they might use Provenance to satisfy the typical needs envisioned by the 'relevantHistory' elements found in various Event and Request resources.&#xD;&#xA;&#xD;&#xA;This profile identifies the data elements most likely to be relevant to implementers who are using Provenance to convey the `relevant history` of a resource, as discussed in the [request pattern](request.html#history).  For the purposes of this profile, mustSupport should be interpreted as 'SHOULD be considered for population and SHOULD be understood by consumers.'  Implementers are not obligated to handle all of these element and are not prohibited from also making use of additional data elements"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="w3c.prov"/>
          <uri value="http://www.w3.org/ns/prov"/>
          <name value="W3C PROV"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="fhirauditevent"/>
          <uri value="http://hl7.org/fhir/auditevent"/>
          <name value="FHIR AuditEvent Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Provenance"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Provenance">
            <path value="Provenance"/>
            <short value="Who, What, When for a set of resources"/>
            <definition value="Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which MAY impact security, privacy, and trust policies."/>
            <comment value="Some parties MAY be duplicated between the target resource and its provenance.  For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance."/>
            <alias value="History"/>
            <alias value="Event"/>
            <alias value="Activity"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.information"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity"/>
            </mapping>
          </element>
          <element id="Provenance.id">
            <path value="Provenance.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Provenance.meta">
            <path value="Provenance.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Provenance.implicitRules">
            <path value="Provenance.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Provenance.language">
            <path value="Provenance.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Provenance.text">
            <path value="Provenance.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Provenance.contained">
            <path value="Provenance.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Provenance.extension">
            <path value="Provenance.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Provenance.modifierExtension">
            <path value="Provenance.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Provenance.target">
            <path value="Provenance.target"/>
            <short value="Resource version"/>
            <definition value="This points to the version of the resource that was created as a result of this historical record action.  Typically only a single resource will be referenced, but if the same action is performed to multiple resources in the context of a transaction, some systems MAY link multiple resource instances."/>
            <comment value="The reference SHALL be version-specific."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Provenance.target"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target  OR  ./participation[isNormalParticipation() and typeCode=SBJ]/role  OR  ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.entity.reference"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Entity Created/Updated"/>
            </mapping>
          </element>
          <element id="Provenance.occurred[x]">
            <path value="Provenance.occurred[x]"/>
            <short value="When the activity occurred"/>
            <definition value="This indicates the time the resource action (creation, revision, deletion, etc.) occurred."/>
            <comment value="Both low and high will be set to the time the record event occurred.  (In a future version, this element will likely be a choice with dateTime so that multiple values aren't needed.)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.occurred[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./effectiveTime[type=IVL_TS]"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.startTime &amp; Activity.endTime"/>
            </mapping>
          </element>
          <element id="Provenance.recorded">
            <path value="Provenance.recorded"/>
            <short value="When the activity was recorded / updated"/>
            <definition value="The date and time at which the provenance information was recorded / updated, whether in the FHIR Provenance resource or in some other form that is later communicated in the FHIR Provenance."/>
            <comment value="This can be a little different from the lastUpdated on the Provenance resource if there is a delay between recording the event and updating the provenance and target resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.recorded"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.recorded"/>
            </mapping>
          </element>
          <element id="Provenance.policy">
            <path value="Provenance.policy"/>
            <short value="Policy or plan the activity was defined by"/>
            <definition value="Policy or plan the activity was defined by. Typically, a single activity MAY have multiple applicable policy documents, such as patient consent, guarantor funding, etc."/>
            <comment value="For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.policy"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./inboundRelationship[isNormalActRelationship() and typeCode=&quot;SUBJ&quot;]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.policy"/>
            </mapping>
          </element>
          <element id="Provenance.location">
            <path value="Provenance.location"/>
            <short value="Where the activity occurred"/>
            <definition value="Where the activity occurred."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.location"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.where[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=&quot;LOC&quot; and determinerCode=&quot;INST&quot;]"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.location"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.location"/>
            </mapping>
          </element>
          <element id="Provenance.authorization">
            <path value="Provenance.authorization"/>
            <short value="Authorization (purposeOfUse) related to the event"/>
            <definition value="The authorization (e.g., PurposeOfUse) that was used during the event being recorded."/>
            <requirements value="Record of any relevant security context, not restricted to purposeOfUse valueSet. May include security compartments, refrain, obligation, or other security tags."/>
            <alias value="PurposeOfEvent"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.authorization"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceReason"/>
              </extension>
              <strength value="example"/>
              <description value="The authorized purposeOfUse for the activity."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.reason"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./reasonCode)"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.purposeOfEvent"/>
            </mapping>
          </element>
          <element id="Provenance.why">
            <path value="Provenance.why"/>
            <short value="Why was the event performed?"/>
            <definition value="Describes why the event recorded in this provenenace occurred in textual form."/>
            <comment value="Plain/Markdown text reasons the action occurred."/>
            <alias value="reason"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.why"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.reason"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./reasonCode)"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.Activity"/>
            </mapping>
          </element>
          <element id="Provenance.activity">
            <path value="Provenance.activity"/>
            <short value="Record activity"/>
            <definition value="Indicates what action occurred to the referenced resource."/>
            <comment value="This SHOULD be captured at a sufficiently useful level of granularity.  For example &quot;suspended&quot; is more useful than &quot;updated&quot;.  Domains will need to map the listed codes to their own state transitions and MAY wish to define additional domain-specific fine-grained codes."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.activity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceHistoryRecordActivity"/>
              </extension>
              <strength value="extensible"/>
              <description value="Types of activities that are relevant for tracking event history using Provenance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-history-record-activity"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act.code"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.code"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.Activity"/>
            </mapping>
          </element>
          <element id="Provenance.basedOn">
            <path value="Provenance.basedOn"/>
            <short value="Workflow authorization within which this event occurred"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this provenance."/>
            <requirements value="Allows tracing of authorization for the provenance and tracking whether proposals/recommendations were acted upon."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act.code"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.Activity"/>
            </mapping>
          </element>
          <element id="Provenance.patient">
            <path value="Provenance.patient"/>
            <short value="The patient is the subject of the data created/updated (.target) by the activity"/>
            <definition value="The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity."/>
            <requirements value="When the .patient is populated it SHALL be accurate to the subject of the target data. The .patient SHALL NOT be populated when the target data created/updated (.target) by the activity does not involve a subject. Note that when the patient is an agent, they will be recorded as an agent. When the Patient resource is Created, Updated, or Deleted it will be recorded as an entity.  May also affect access control."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.patient"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Entity.Identity"/>
            </mapping>
          </element>
          <element id="Provenance.encounter">
            <path value="Provenance.encounter"/>
            <short value="Encounter within which this event occurred or which the event is tightly associated"/>
            <definition value="This will typically be the encounter the event occurred, but some events MAY be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)."/>
            <comment value="This will typically be the encounter the provenance was created during, but some provenances MAY be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)."/>
            <requirements value="Links the provenance to the Encounter context.  May also affect access control."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act.code"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.Activity"/>
            </mapping>
          </element>
          <element id="Provenance.agent">
            <path value="Provenance.agent"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Who was involved with change"/>
            <definition value="Who was involved with change."/>
            <comment value="Generally the author will be specified.  Others are optional."/>
            <requirements value="An agent can be a person, an organization, software, device, or other entities that MAY be ascribed responsibility."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Provenance.agent"/>
              <min value="1"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="prov-1"/>
              <severity value="error"/>
              <human value="Who and onBehalfOf cannot be the same"/>
              <expression value="who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-2"/>
              <severity value="error"/>
              <human value="If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner"/>
              <expression value="who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-3"/>
              <severity value="error"/>
              <human value="If who is an organization, onBehalfOf can't be a PractitionerRole within that organization"/>
              <expression value="who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-4"/>
              <severity value="error"/>
              <human value="If who is an organization, onBehalfOf can't be a healthcare service within that organization"/>
              <expression value="who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve().exists() implies who.resolve() != onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.who"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Agent"/>
            </mapping>
          </element>
          <element id="Provenance.agent.id">
            <path value="Provenance.agent.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.agent.extension">
            <path value="Provenance.agent.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.agent.modifierExtension">
            <path value="Provenance.agent.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Provenance.agent.type">
            <path value="Provenance.agent.type"/>
            <short value="How the agent participated"/>
            <definition value="The Functional Role of the agent with respect to the activity."/>
            <comment value="For example: assembler, author, prescriber, signer, investigator, etc."/>
            <requirements value="Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. This element will hold the functional role that the agent played in the activity that is the focus of this Provenance. Where an agent played multiple functional roles, they will be listed as multiple .agent elements representing each functional participation. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceHistoryAgentType"/>
              </extension>
              <strength value="extensible"/>
              <description value="Types of roles that agents can play when tracking event history using Provenance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-history-agent-type"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.function"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".role"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.type"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Agent.Attribution"/>
            </mapping>
          </element>
          <element id="Provenance.agent.role">
            <path value="Provenance.agent.role"/>
            <short value="What the agents role was"/>
            <definition value="The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity."/>
            <comment value="For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc."/>
            <requirements value="Structural roles reflect the structural aspects of relationships between entities. Structural roles describe prerequisites, feasibilities, or competences for acts. Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models.."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.agent.role"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceAgentRole"/>
              </extension>
              <strength value="example"/>
              <description value="The role that a provenance agent played with respect to the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/security-role-type-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".typecode"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.role"/>
            </mapping>
          </element>
          <element id="Provenance.agent.who">
            <path value="Provenance.agent.who"/>
            <short value="The agent that participated in the event"/>
            <definition value="Indicates who or what performed in the event."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.who"/>
              <min value="1"/>
              <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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-3"/>
            <condition value="prov-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.who"/>
            </mapping>
          </element>
          <element id="Provenance.agent.onBehalfOf">
            <path value="Provenance.agent.onBehalfOf"/>
            <short value="The agent that delegated"/>
            <definition value="The agent that delegated authority to perform the activity performed by the agent.who element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.onBehalfOf"/>
              <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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-3"/>
            <condition value="prov-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author">
            <path value="Provenance.agent"/>
            <sliceName value="Author"/>
            <short value="Author"/>
            <definition value="Author."/>
            <comment value="Several agents MAY be associated (i.e. has some responsibility for an activity) with an activity and vice-versa."/>
            <requirements value="An agent can be a person, an organization, software, device, or other entities that MAY be ascribed responsibility."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent"/>
              <min value="1"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="prov-1"/>
              <severity value="error"/>
              <human value="Who and onBehalfOf cannot be the same"/>
              <expression value="who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-2"/>
              <severity value="error"/>
              <human value="If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner"/>
              <expression value="who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-3"/>
              <severity value="error"/>
              <human value="If who is an organization, onBehalfOf can't be a PractitionerRole within that organization"/>
              <expression value="who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <constraint>
              <key value="prov-4"/>
              <severity value="error"/>
              <human value="If who is an organization, onBehalfOf can't be a healthcare service within that organization"/>
              <expression value="who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve().exists() implies who.resolve() != onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.who"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Agent"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.id">
            <path value="Provenance.agent.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.extension">
            <path value="Provenance.agent.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.modifierExtension">
            <path value="Provenance.agent.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Provenance.agent:Author.type">
            <path value="Provenance.agent.type"/>
            <short value="How the agent participated"/>
            <definition value="The Functional Role of the agent with respect to the activity."/>
            <comment value="For example: assembler, author, prescriber, signer, investigator, etc."/>
            <requirements value="Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. This element will hold the functional role that the agent played in the activity that is the focus of this Provenance. Where an agent played multiple functional roles, they will be listed as multiple .agent elements representing each functional participation. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
                <code value="AUT"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceHistoryAgentType"/>
              </extension>
              <strength value="extensible"/>
              <description value="Types of roles that agents can play when tracking event history using Provenance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-history-agent-type"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.function"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".role"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.type"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Agent.Attribution"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.role">
            <path value="Provenance.agent.role"/>
            <short value="What the agents role was"/>
            <definition value="The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity."/>
            <comment value="For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc."/>
            <requirements value="Structural roles reflect the structural aspects of relationships between entities. Structural roles describe prerequisites, feasibilities, or competences for acts. Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models.."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.agent.role"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceAgentRole"/>
              </extension>
              <strength value="example"/>
              <description value="The role that a provenance agent played with respect to the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/security-role-type-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".typecode"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.agent.role"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.who">
            <path value="Provenance.agent.who"/>
            <short value="Author Reference"/>
            <definition value="Author Reference."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.who"/>
              <min value="1"/>
              <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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-3"/>
            <condition value="prov-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.who"/>
            </mapping>
          </element>
          <element id="Provenance.agent:Author.onBehalfOf">
            <path value="Provenance.agent.onBehalfOf"/>
            <short value="The agent that delegated"/>
            <definition value="The agent that delegated authority to perform the activity performed by the agent.who element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Provenance.agent.onBehalfOf"/>
              <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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-3"/>
            <condition value="prov-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]"/>
            </mapping>
          </element>
          <element id="Provenance.entity">
            <path value="Provenance.entity"/>
            <short value="An entity used in this activity"/>
            <definition value="An entity used in this activity."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.entity"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./subjectOf"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.entity"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Entity"/>
            </mapping>
          </element>
          <element id="Provenance.entity.id">
            <path value="Provenance.entity.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.entity.extension">
            <path value="Provenance.entity.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Provenance.entity.modifierExtension">
            <path value="Provenance.entity.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Provenance.entity.role">
            <path value="Provenance.entity.role"/>
            <short value="revision | quotation | source | instantiates | removal | other"/>
            <definition value="How the entity was used during the activity."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.entity.role"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="No role declared or available."/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceEntityRole"/>
              </extension>
              <strength value="required"/>
              <description value="How an entity was used in an activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-entity-role|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./typeCode"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.entity.role"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Entity.role"/>
            </mapping>
          </element>
          <element id="Provenance.entity.what">
            <path value="Provenance.entity.what"/>
            <short value="Identity of entity"/>
            <definition value="Identity of the  Entity used. May be a logical or physical uri and maybe absolute or relative."/>
            <comment value="The what.identifier SHOULD be used for entities that are not a Resource type."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Provenance.entity.what"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./text/reference"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.entity.reference"/>
            </mapping>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Entity.Identity"/>
            </mapping>
          </element>
          <element id="Provenance.entity.agent">
            <path value="Provenance.entity.agent"/>
            <short value="Entity is attributed to this agent"/>
            <definition value="The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which used the entity."/>
            <comment value="A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it.  This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 V2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.entity.agent"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./author/role"/>
            </mapping>
            <mapping>
              <identity value="fhirauditevent"/>
              <map value="AuditEvent.entity.agent"/>
            </mapping>
          </element>
          <element id="Provenance.signature">
            <path value="Provenance.signature"/>
            <short value="Signature on target"/>
            <definition value="A digital signature on the target Reference(s). The signer SHOULD match a Provenance.agent. The purpose of the signature is indicated."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Provenance.signature"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./signatureText"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Provenance">
            <path value="Provenance"/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Provenance.target">
            <path value="Provenance.target"/>
            <short value="Resource version"/>
            <definition value="This points to the version of the resource that was created as a result of this historical record action.  Typically only a single resource will be referenced, but if the same action is performed to multiple resources in the context of a transaction, some systems MAY link multiple resource instances."/>
            <comment value="The reference SHALL be version-specific."/>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.occurred[x]">
            <path value="Provenance.occurred[x]"/>
            <definition value="This indicates the time the resource action (creation, revision, deletion, etc.) occurred."/>
            <comment value="Both low and high will be set to the time the record event occurred.  (In a future version, this element will likely be a choice with dateTime so that multiple values aren't needed.)."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="dateTime"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.why">
            <path value="Provenance.why"/>
            <comment value="Plain/Markdown text reasons the action occurred."/>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.activity">
            <path value="Provenance.activity"/>
            <short value="Record activity"/>
            <definition value="Indicates what action occurred to the referenced resource."/>
            <comment value="This SHOULD be captured at a sufficiently useful level of granularity.  For example &quot;suspended&quot; is more useful than &quot;updated&quot;.  Domains will need to map the listed codes to their own state transitions and MAY wish to define additional domain-specific fine-grained codes."/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceHistoryRecordActivity"/>
              </extension>
              <strength value="extensible"/>
              <description value="Types of activities that are relevant for tracking event history using Provenance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-history-record-activity"/>
            </binding>
          </element>
          <element id="Provenance.agent">
            <path value="Provenance.agent"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Who was involved with change"/>
            <definition value="Who was involved with change."/>
            <comment value="Generally the author will be specified.  Others are optional."/>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.agent.type">
            <path value="Provenance.agent.type"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ProvenanceHistoryAgentType"/>
              </extension>
              <strength value="extensible"/>
              <description value="Types of roles that agents can play when tracking event history using Provenance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/provenance-history-agent-type"/>
            </binding>
          </element>
          <element id="Provenance.agent:Author">
            <path value="Provenance.agent"/>
            <sliceName value="Author"/>
            <short value="Author"/>
            <definition value="Author."/>
            <min value="0"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.agent:Author.type">
            <path value="Provenance.agent.type"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
                <code value="AUT"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
          </element>
          <element id="Provenance.agent:Author.who">
            <path value="Provenance.agent.who"/>
            <short value="Author Reference"/>
            <definition value="Author Reference."/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
    <resource>
      <StructureDefinition>
        <id value="vitalsigns"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xA;&#xA;1.  One status in `Observation.status` which has a [required](terminologies.html#extensible) binding to:&#xA;    -    [ObservationStatus] value set.&#xA;1.  A category in `Observation.category` which must have:&#xA;    -   a fixed `Observation.category.coding.system`=**'http://terminology.hl7.org/CodeSystem/observation-category'**'&#xA;    -   a fixed `Observation.category.coding.code`= **'vital-signs'**'&#xA;&#xA;1.  A code in `Observation.code`&#xA;    -   a fixed `Observation.code.coding.system`= **'http://loinc.org'**&#xA;    -   a LOINC code in `Observation.code.coding.code` which has an [extensible](terminologies.html#extensible) binding to:&#xA;         -   [Vital Signs] value set.&#xA;                &#xA;1.  One patient in `Observation.subject`&#xA;1.  A date and time in `effectiveDateTime`&#xA;1.  Either one `Observation.value[x]` or a populated component (with `component.code` and either `component.value[x]` or `component.dataAbsentReason`) or hasMember relationship.  If there are none of those, then one code in `Observation.DataAbsentReason`&#xA;    -   if a vital sign measure then:&#xA;        -  One numeric value in Observation.valueQuantity.value&#xA;        - a fixed Observation.valueQuantity.system=**'http://unitsofmeasure.org'**'&#xA;        - a UCUM unit code in Observation.valueQuantity.code which has a required binding to the [Vital Signs Units] value set.&#xA;    -   Observation.DataAbsentReason is bound to [Observation Value&#xA;        Absent Reason] value set.&#xA;&#xA;1.  When using a panel code to group component observations (Note: See&#xA;    the comments regarding blood pressure in the table above), one or&#xA;    more `Observation.component.code` each of which must have:&#xA;    -   a fixed&#xA;        `Observation.component.code.coding.system` =**'http://loinc.org'**'&#xA;         -   a LOINC code in `Observation.code.coding.code` which has an [extensible] binding to:&#xA;             -   [Vital Signs Units] value set.&#xA;&#xA;1.  Either one `Observation.component.valueQuantity` or, if there is&#xA;    no value, one code in `Observation.component.DataAbsentReason`&#xA;    -   Observation.component.DataAbsentReason is bound to [Observation&#xA;        Value Absent Reason] value set.&#xA;&#xA;1.  When using a panel code to group observations, one or more reference&#xA;    to Vitals Signs Observations in `Observation.related.target`&#xA;    -   a fixed `Observation.related.type`= **'has-member'**&#xA;&#xA; [Vital Signs]: valueset-observation-vitalsign-measurement.html&#xA;  [Vital Signs Units]: valueset-ucum-vitals-common.html&#xA;  [extensible]: terminologies.html#extensible&#xA;  [ObservationStatus]: valueset-observation-status.html&#xA; [Observation Value Absent Reason]: valueset-data-absent-reason.html&#xA;[required]: terminologies.html#required&quot;"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xA;&#xA;1.  One status in `Observation.status` which has a [required](terminologies.html#extensible) binding to:&#xA;    -    [ObservationStatus] value set.&#xA;1.  A category in `Observation.category` which must have:&#xA;    -   a fixed `Observation.category.coding.system`=**'http://terminology.hl7.org/CodeSystem/observation-category'**'&#xA;    -   a fixed `Observation.category.coding.code`= **'vital-signs'**'&#xA;&#xA;1.  A code in `Observation.code`&#xA;    -   a fixed `Observation.code.coding.system`= **'http://loinc.org'**'&#xA;    -   a LOINC code in `Observation.code.coding.code` which has an [extensible](terminologies.html#extensible) binding to:&#xA;         -   [Vital Signs] value set.&#xA;                &#xA;1.  One patient in `Observation.subject`&#xA;1.  A date and time in `effectiveDateTime`&#xA;1.  Either one `Observation.value[x]` or, if there is no value, one code in `Observation.DataAbsentReason`&#xA;    -   if a vital sign measure then:&#xA;        -  One numeric value in Observation.valueQuantity.value&#xA;        - a fixed Observation.valueQuantity.system=**'http://unitsofmeasure.org'**'&#xA;        - a UCUM unit code in Observation.valueQuantity.code which has a required binding to the [Vital Signs Units] value set.&#xA;    -   Observation.DataAbsentReason is bound to [Observation Value&#xA;        Absent Reason] value set.&#xA;&#xA;1.  When using a panel code to group component observations (Note: See&#xA;    the comments regarding blood pressure in the table above), one or&#xA;    more `Observation.component.code` each of which must have:&#xA;    -   a fixed&#xA;        `Observation.component.code.coding.system` =**'http://loinc.org'**'&#xA;         -   a LOINC code in `Observation.code.coding.code` which has an [extensible] binding to:&#xA;             -   [Vital Signs Units] value set.&#xA;&#xA;1.  Either one `Observation.component.valueQuantity` or, if there is&#xA;    no value, one code in `Observation.component.DataAbsentReason`&#xA;    -   Observation.component.DataAbsentReason is bound to [Observation&#xA;        Value Absent Reason] value set.&#xA;&#xA;1.  When using a panel code to group observations, one or more reference&#xA;    to Vitals Signs Observations in `Observation.related.target`&#xA;    -   a fixed `Observation.related.type`= **'has-member'**&#xA;&#xA; [Vital Signs]: valueset-observation-vitalsign-measurement.html&#xA;  [Vital Signs Units]: valueset-ucum-vitals-common.html&#xA;  [extensible]: terminologies.html#extensible&#xA;  [ObservationStatus]: valueset-observation-status.html&#xA; [Observation Value Absent Reason]: valueset-data-absent-reason.html&#xA;[required]: terminologies.html#required&quot;"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1461"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationvitalsignsbase"/>
        <title value="Vital Signs Base Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2016-03-25"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Vital Signs Base Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Vital Signs Base Profile"/>
            <definition value="The FHIR Vitals Signs base profile sets minimum expectations for the Observation resource to record, search and fetch the vital signs associated with a patient."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Sign Measurement"/>
            <definition value="Vital Sign Measurement"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="This identifies the vital sign or panel measurement."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the vital sign measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-measurement"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Vital Signs Base Profile"/>
            <definition value="The FHIR Vitals Signs base profile sets minimum expectations for the Observation resource to record, search and fetch the vital signs associated with a patient."/>
            <alias value="Vital Signs"/>
            <alias value="Measurement"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
          </element>
          <element id="Observation.status">
            <path value="Observation.status"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <min value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <min value="1"/>
            <max value="1"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Sign Measurement"/>
            <definition value="Vital Sign Measurement"/>
            <min value="1"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="This identifies the vital sign or panel measurement."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the vital sign measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-measurement"/>
            </binding>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <min value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <min value="1"/>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="vsp-2"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-2"/>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </type>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </type>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
          </element>
          <element id="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <type>
              <code value="Quantity"/>
            </type>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/vitalspanel"/>
    <resource>
      <StructureDefinition>
        <id value="vitalspanel"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'85353-1'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1.  No value in `Observation.value[x]`&#xD;1.  At Least one Vitals Sign Observation reference in `Observation.hasMember`"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'85353-1'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1.  No value in `Observation.value[x]`&#xD;1.  At Least one Vitals Sign Observation reference in `Observation.hasMember`"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/vitalspanel"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1458"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationvitalspanel"/>
        <title value="Observation Vital Signs Panel Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Vital Signs Panel Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Vital Signs Panel Profile"/>
            <definition value="This profile defines the top-level grouping structure for a set of vital signs. It has no value in Observation.valueQuantity ; instead, it just includes related links (with type=has-member) to the Observations in this set (e.g. respiratory rate, heart rate, BP - with a minimum of 2 members of the set/panel required)."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Signs Panel"/>
            <definition value="Vital Signs Panel"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <alias value="Panel Name"/>
            <alias value="Panel Code"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="85353-1"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsPanel"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing a panel of vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-panel"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="2"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Vital Signs Panel Profile"/>
            <definition value="This profile defines the top-level grouping structure for a set of vital signs. It has no value in Observation.valueQuantity ; instead, it just includes related links (with type=has-member) to the Observations in this set (e.g. respiratory rate, heart rate, BP - with a minimum of 2 members of the set/panel required)."/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Signs Panel"/>
            <definition value="Vital Signs Panel"/>
            <alias value="Panel Name"/>
            <alias value="Panel Code"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="85353-1"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsPanel"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing a panel of vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-panel"/>
            </binding>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <max value="0"/>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="2"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/resprate"/>
    <resource>
      <StructureDefinition>
        <id value="resprate"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'9279-1'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'/min'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'9279-1'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'/min'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/resprate"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1466"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationresprate"/>
        <title value="Observation Respiratory Rate Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Respiratory Rate Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Respiratory Rate Profile"/>
            <definition value="This profile defines  how to represent Respiratory Rate observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Respiratory Rate"/>
            <definition value="Respiratory Rate"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="9279-1"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRespRate"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing respiratory rate vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-resprate"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM rate units for vital signs including heart and respiratory rate."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRateUnits"/>
              </extension>
              <strength value="required"/>
              <description value="/min"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Respiratory Rate Profile"/>
            <definition value="This profile defines  how to represent Respiratory Rate observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Respiratory Rate"/>
            <definition value="Respiratory Rate"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="9279-1"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRespRate"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing respiratory rate vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-resprate"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM rate units for vital signs including heart and respiratory rate."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRateUnits"/>
              </extension>
              <strength value="required"/>
              <description value="/min"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/oxygensat"/>
    <resource>
      <StructureDefinition>
        <id value="oxygensat"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="&quot;#### Complete Summary of the Mandatory Requirements&#xA;&#xA;1.  One code in `Observation.code` which must have&#xA;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xA;    -   a fixed  `Observation.category.coding.code`= **'2708-6'**&#xA;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xA;        SHALL have a system value&#xA;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xA;   - Each Observation.valueQuantity must have:&#xA;     - One numeric value in Observation.valueQuantity.value&#xA;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xA;     - a UCUM unit code in Observation.valueQuantity.code = **'%'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="&quot;#### Complete Summary of the Mandatory Requirements&#xA;&#xA;1.  One code in `Observation.code` which must have&#xA;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xA;    -   a fixed  `Observation.category.coding.code`= **'2708-6'**&#xA;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xA;        SHALL have a system value&#xA;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xA;   - Each Observation.valueQuantity must have:&#xA;     - One numeric value in Observation.valueQuantity.value&#xA;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xA;     - a UCUM unit code in Observation.valueQuantity.code = **'%'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/oxygensat"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1457"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationoxygensat"/>
        <title value="Observation Oxygen Saturation Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-10-23"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Oxygen Saturation Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Oxygen Saturation Profile"/>
            <definition value="This profile defines  how to represent Oxygen Saturation observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Oxygen Saturation"/>
            <definition value="Oxygen Saturation"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="2708-6"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsOxygenSat"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing arterial oxygen saturation vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-oxygensat"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for oxygen saturation."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="OxygenSaturationUnits"/>
              </extension>
              <strength value="required"/>
              <description value="%"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-oxygensat"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Oxygen Saturation Profile"/>
            <definition value="This profile defines  how to represent Oxygen Saturation observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Oxygen Saturation"/>
            <definition value="Oxygen Saturation"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="2708-6"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsOxygenSat"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing arterial oxygen saturation vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-oxygensat"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for oxygen saturation."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="OxygenSaturationUnits"/>
              </extension>
              <strength value="required"/>
              <description value="%"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-oxygensat"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/heartrate"/>
    <resource>
      <StructureDefinition>
        <id value="heartrate"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8867-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'/min'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8867-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'/min'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/heartrate"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1454"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationheartrate"/>
        <title value="Observation Heart Rate Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Heart Rate Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Heart Rate Profile"/>
            <definition value="This profile defines how to represent heart rate observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Heart Rate"/>
            <definition value="Heart Rate"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8867-4"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsHeartRate"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing heart rate vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-heartrate"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM rate units for vital signs including heart and respiratory rate."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRateUnits"/>
              </extension>
              <strength value="required"/>
              <description value="/min"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Heart Rate Profile"/>
            <definition value="This profile defines how to represent heart rate observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Heart Rate"/>
            <definition value="Heart Rate"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8867-4"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsHeartRate"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing heart rate vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-heartrate"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM rate units for vital signs including heart and respiratory rate."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsRateUnits"/>
              </extension>
              <strength value="required"/>
              <description value="/min"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/headcircum"/>
    <resource>
      <StructureDefinition>
        <id value="headcircum"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'9843-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'cm', or '[in_i]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'9843-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'cm', or '[in_i]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/headcircum"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1467"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationheadcircum"/>
        <title value="Observation Head Circumference Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Head Circumference Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Head Circumference Profile"/>
            <definition value="This profile defines  how to represent Head Circumference observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Head Circumference"/>
            <definition value="Head Circumference"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="9843-4"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsHeadCircum"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing head circumference vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-headcircum"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for body length measures such as Body Height and Head Circumference."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyLengthUnits"/>
              </extension>
              <strength value="required"/>
              <description value="cm | [in_i]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodylength"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Head Circumference Profile"/>
            <definition value="This profile defines  how to represent Head Circumference observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Head Circumference"/>
            <definition value="Head Circumference"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="9843-4"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsHeadCircum"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing head circumference vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-headcircum"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for body length measures such as Body Height and Head Circumference."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyLengthUnits"/>
              </extension>
              <strength value="required"/>
              <description value="cm | [in_i]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodylength"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/bp"/>
    <resource>
      <StructureDefinition>
        <id value="bp"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **85354-9'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;2.  One  `Observation.component.code`  which must have&#xD;    -   a fixed `Observation.component.code.coding.system`=**'http://loinc.org'**&#xD;    -   fixed  `Observation.component.code.coding.code`= **'8480-6'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;3.  One  `Observation.component.code` which must have &#xD;    -   a fixed `Observation.component.code.coding.system`=**'http://loinc.org'**&#xD;    -   fixed  `Observation.component.code.coding.code`= **'8462-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'mm[Hg]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **85354-9'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;2.  One  `Observation.component.code`  which must have&#xD;    -   a fixed `Observation.component.code.coding.system`=**'http://loinc.org'**&#xD;    -   fixed  `Observation.component.code.coding.code`= **'8480-6'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;3.  One  `Observation.component.code` which must have &#xD;    -   a fixed `Observation.component.code.coding.system`=**'http://loinc.org'**&#xD;    -   fixed  `Observation.component.code.coding.code`= **'8462-4'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'mm[Hg]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/bp"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1459"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationbp"/>
        <title value="Observation Blood Pressure Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Blood Pressure Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Blood Pressure Profile"/>
            <definition value="This profile defines  how to represent Blood Pressure observations in FHIR using a standard LOINC code and UCUM units of measure.  This is a grouping structure. It has no value in Observation.valueQuantity but contains at least one component (systolic and/or diastolic)."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Blood Pressure"/>
            <definition value="Blood Pressure"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="85354-9"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignBPPanel"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial systolic and diastolic BP panel of vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bppanel"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Used when reporting systolic and diastolic blood pressure."/>
            <definition value="Used when reporting systolic and diastolic blood pressure."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="2"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP">
            <path value="Observation.component"/>
            <sliceName value="SystolicBP"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsp-3-sbp"/>
              <severity value="error"/>
              <human value="If the systolic BP component exists and there is no component value a component data absent reason must be present."/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component:SystolicBP.code">
            <path value="Observation.component.code"/>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure"/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8480-6"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignSystolicBP"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial systolic BP vital sign measurement in Observation.component.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-systolicbp"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]"/>
            <definition value="Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <condition value="vsp-3-sbp"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Blood Pressure."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BloodPressureUnits"/>
              </extension>
              <strength value="required"/>
              <description value="mm[Hg]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bp"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <condition value="vsp-3-sbp"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP">
            <path value="Observation.component"/>
            <sliceName value="DiastolicBP"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsp-3-dbp"/>
              <severity value="error"/>
              <human value="If the diastolic BP component exists and there is no component value a component data absent reason must be present."/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component:DiastolicBP.code">
            <path value="Observation.component.code"/>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure"/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8462-4"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignDiastolicBP"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial diastolic BP vital sign measurement in Observation.component.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-diastolicbp"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]"/>
            <definition value="Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <condition value="vsp-3-dbp"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Blood Pressure."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BloodPressureUnits"/>
              </extension>
              <strength value="required"/>
              <description value="mm[Hg]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bp"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <condition value="vsp-3-dbp"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Blood Pressure Profile"/>
            <definition value="This profile defines  how to represent Blood Pressure observations in FHIR using a standard LOINC code and UCUM units of measure.  This is a grouping structure. It has no value in Observation.valueQuantity but contains at least one component (systolic and/or diastolic)."/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Blood Pressure"/>
            <definition value="Blood Pressure"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="85354-9"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignBPPanel"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial systolic and diastolic BP panel of vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bppanel"/>
            </binding>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <max value="0"/>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Used when reporting systolic and diastolic blood pressure."/>
            <definition value="Used when reporting systolic and diastolic blood pressure."/>
            <min value="2"/>
            <max value="*"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:SystolicBP">
            <path value="Observation.component"/>
            <sliceName value="SystolicBP"/>
            <min value="1"/>
            <max value="1"/>
            <constraint>
              <key value="vsp-3-sbp"/>
              <severity value="error"/>
              <human value="If the systolic BP component exists and there is no component value a component data absent reason must be present."/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
            </constraint>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:SystolicBP.code">
            <path value="Observation.component.code"/>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8480-6"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignSystolicBP"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial systolic BP vital sign measurement in Observation.component.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-systolicbp"/>
            </binding>
          </element>
          <element id="Observation.component:SystolicBP.value[x]">
            <path value="Observation.component.value[x]"/>
            <type>
              <code value="Quantity"/>
            </type>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]"/>
            <definition value="Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]."/>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="vsp-3-sbp"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Blood Pressure."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BloodPressureUnits"/>
              </extension>
              <strength value="required"/>
              <description value="mm[Hg]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bp"/>
            </binding>
          </element>
          <element id="Observation.component:SystolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <condition value="vsp-3-sbp"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP">
            <path value="Observation.component"/>
            <sliceName value="DiastolicBP"/>
            <min value="1"/>
            <max value="1"/>
            <constraint>
              <key value="vsp-3-dbp"/>
              <severity value="error"/>
              <human value="If the diastolic BP component exists and there is no component value a component data absent reason must be present."/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
            </constraint>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP.code">
            <path value="Observation.component.code"/>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8462-4"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignDiastolicBP"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing an arterial diastolic BP vital sign measurement in Observation.component.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-diastolicbp"/>
            </binding>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]">
            <path value="Observation.component.value[x]"/>
            <type>
              <code value="Quantity"/>
            </type>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]"/>
            <definition value="Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]."/>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="vsp-3-dbp"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Blood Pressure."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BloodPressureUnits"/>
              </extension>
              <strength value="required"/>
              <description value="mm[Hg]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bp"/>
            </binding>
          </element>
          <element id="Observation.component:DiastolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <condition value="vsp-3-dbp"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/bodyweight"/>
    <resource>
      <StructureDefinition>
        <id value="bodyweight"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'29463-7'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'kg', 'g', '[lb_av]' or '[oz_av]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'29463-7'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'kg', 'g', '[lb_av]' or '[oz_av]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/bodyweight"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1465"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationbodyweight"/>
        <title value="Observation Body Weight Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Body Weight Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Weight Profile"/>
            <definition value="This profile defines  how to represent body weight observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Weight"/>
            <definition value="Body Weight"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="29463-7"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyWeight"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body weight vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyweight"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Body Weight."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyWeightUnits"/>
              </extension>
              <strength value="required"/>
              <description value="g | kg  | [lb_av] | [oz_av]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodyweight"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Weight Profile"/>
            <definition value="This profile defines  how to represent body weight observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Weight"/>
            <definition value="Body Weight"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="29463-7"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyWeight"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body weight vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyweight"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Body Weight."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyWeightUnits"/>
              </extension>
              <strength value="required"/>
              <description value="g | kg  | [lb_av] | [oz_av]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodyweight"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/bodytemp"/>
    <resource>
      <StructureDefinition>
        <id value="bodytemp"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8310-5'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'Cel', or '[degF]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8310-5'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'Cel', or '[degF]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/bodytemp"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1455"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationbodytemp"/>
        <title value="Observation Body Temperature Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Body Temperature Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Temperature Profile"/>
            <definition value="This profile defines  how to represent Body Temperature observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Temperature"/>
            <definition value="Body Temperature"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8310-5"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyTemp"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body temperature vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodytemp"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Body Temperature."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyTempUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Cel | [degF]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodytemp"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Temperature Profile"/>
            <definition value="This profile defines  how to represent Body Temperature observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Temperature"/>
            <definition value="Body Temperature"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8310-5"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyTemp"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body temperature vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodytemp"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for Body Temperature."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyTempUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Cel | [degF]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodytemp"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/bodyheight"/>
    <resource>
      <StructureDefinition>
        <id value="bodyheight"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8302-2'**&#xD;    -   8306-3 -Body height - lying (i.e., body length - typically used for infants) MAY be included as an additional observation code  - The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'cm', or '[in_i]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'8302-2'**&#xD;    -   8306-3 -Body height - lying (i.e., body length - typically used for infants) MAY be included as an additional observation code  - The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'cm', or '[in_i]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/bodyheight"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1463"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationbodyheight"/>
        <title value="Observation Body Height Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Body Height Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Height Profile"/>
            <definition value="This profile defines  how to represent Body Height observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Height"/>
            <definition value="Body Height"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8302-2"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyHeight"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body height (including body length) vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyheight"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for body length measures such as Body Height and Head Circumference."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyLengthUnits"/>
              </extension>
              <strength value="required"/>
              <description value="cm | [in_i]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodylength"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Height Profile"/>
            <definition value="This profile defines  how to represent Body Height observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Height"/>
            <definition value="Body Height"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="8302-2"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBodyHeight"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body height (including body length) vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyheight"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for body length measures such as Body Height and Head Circumference."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyLengthUnits"/>
              </extension>
              <strength value="required"/>
              <description value="cm | [in_i]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodylength"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/bmi"/>
    <resource>
      <StructureDefinition>
        <id value="bmi"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-summary">
          <valueMarkdown value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'39156-5'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'kg/m2'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="4"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.category` which must have&#xD;    -   a fixed `Observation.category.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.category.coding.code`= **'39156-5'**&#xD;    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes&#xD;        SHALL have a system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'kg/m2'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/bmi"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1464"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="Observationbmi"/>
        <title value="Observation Body Mass Index Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="HL7 International / Orders and Observations"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"/>
          </telecom>
        </contact>
        <description value="FHIR Body Mass Index (BMI) Profile"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="sct-concept"/>
          <uri value="http://snomed.info/conceptdomain"/>
          <name value="SNOMED CT Concept Domain Binding"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <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="sct-attr"/>
          <uri value="http://snomed.org/attributebinding"/>
          <name value="SNOMED CT Attribute Binding"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Observation"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Mass Index (BMI) Profile"/>
            <definition value="This profile defines  how to represent Body Mass Index (BMI) observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc."/>
            <alias value="Vital Sign"/>
            <alias value="Measurement"/>
            <alias value="Result"/>
            <alias value="Test Performed"/>
            <alias value="Observable"/>
            <alias value="Vital Signs"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <constraint>
              <key value="obs-6"/>
              <severity value="error"/>
              <human value="Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present"/>
              <expression value="dataAbsentReason.empty() or value.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-7"/>
              <severity value="error"/>
              <human value="If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value)."/>
              <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-10"/>
              <severity value="error"/>
              <human value="Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present"/>
              <expression value="component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-11"/>
              <severity value="error"/>
              <human value="if organizer exists and organizer = true, then value[x], dataAbsentReason and component SHALL NOT be present"/>
              <expression value="(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="obs-12"/>
              <severity value="warning"/>
              <human value="All observations SHOULD have a performer"/>
              <expression value="performer.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vsp-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day"/>
              <expression value="(effective as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vsp-2"/>
              <severity value="error"/>
              <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present."/>
              <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.diagnostics"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
          </element>
          <element id="Observation.id">
            <path value="Observation.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.meta">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.implicitRules">
            <path value="Observation.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.language">
            <path value="Observation.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Observation.text">
            <path value="Observation.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Observation.contained">
            <path value="Observation.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.extension">
            <path value="Observation.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 resource. To make the use of extensions safe and managable, 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="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.modifierExtension">
            <path value="Observation.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <short value="Business Identifier for observation"/>
            <definition value="A unique identifier assigned to this observation."/>
            <requirements value="Allows observations to be distinguished and referenced."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="Observation.basedOn">
            <path value="Observation.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy">
            <path value="Observation.triggeredBy"/>
            <short value="Triggering observation(s)"/>
            <definition value="Identifies the observation(s) that triggered the performance of this observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.triggeredBy"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="ORC"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.id">
            <path value="Observation.triggeredBy.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.extension">
            <path value="Observation.triggeredBy.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.modifierExtension">
            <path value="Observation.triggeredBy.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.triggeredBy.observation">
            <path value="Observation.triggeredBy.observation"/>
            <short value="Triggering observation"/>
            <definition value="Reference to the triggering observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.observation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.type">
            <path value="Observation.triggeredBy.type"/>
            <short value="reflex | repeat | re-run"/>
            <definition value="The type of trigger.&#xA;Reflex | Repeat | Re-run."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TriggeredByType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of TriggeredBy Observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.triggeredBy.reason">
            <path value="Observation.triggeredBy.reason"/>
            <short value="Reason that the observation was triggered"/>
            <definition value="Provides the reason why this observation was performed as a result of the observation(s) referenced."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.triggeredBy.reason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="annotation"/>
            </mapping>
          </element>
          <element id="Observation.partOf">
            <path value="Observation.partOf"/>
            <short value="Part of referenced event"/>
            <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure."/>
            <comment value="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation."/>
            <alias value="Container"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.partOf"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationStatement"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.partOf"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="Varies by domain"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
              <valueString value="default: final"/>
            </extension>
            <path value="Observation.status"/>
            <short value="registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained"/>
            <definition value="The status of the result value."/>
            <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
            <requirements value="Need to track the status of individual results. Some results are finalized before the whole report is finalized."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes providing the status of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason = ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
          </element>
          <element id="Observation.statusReason">
            <path value="Observation.statusReason"/>
            <short value="Reason for current status"/>
            <definition value="Captures the reason for the current state of the Observation."/>
            <comment value="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.statusReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationStatusReason"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the reason for the current state of an observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status-reason"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.statusReason"/>
            </mapping>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="pattern"/>
                <path value="$this"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made."/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <short value="Classification of  type of observation"/>
            <definition value="A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. "/>
            <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set."/>
            <requirements value="Used for filtering what observations are retrieved and displayed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                <code value="vital-signs"/>
              </coding>
            </patternCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCategory"/>
              </extension>
              <strength value="preferred"/>
              <description value="Codes for high level observation categories."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-category"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.category"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-29"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Mass Index (BMI)"/>
            <definition value="Body Mass Index (BMI)"/>
            <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.&#xA;&#xA;See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Name"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="39156-5"/>
              </coding>
            </patternCodeableConcept>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBMI"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body mass index (BMI) vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bmi"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <short value="Who and/or what the observation is about"/>
            <definition value="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation."/>
            <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all)."/>
            <requirements value="Observations have no value if you don't know who or what they're about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <path value="Observation.focus"/>
            <short value="What the observation is about, when it is not about the subject of record"/>
            <definition value="The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,&#xD;&#xD;a caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject)."/>
            <comment value="Examples demonstrating the use of subject and focus in an Observation:&#xD;&#xD;- A parent is trained to change their child's tracheostomy tube. The child is the subject, and the parent is the focus.&#xD;&#xD;- A fetal heart rate recorded in a mother's record. The mother is the subject, and the fetus is the focus.&#xD;&#xD;- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.&#xD;&#xD;- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.focus"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.organizer">
            <path value="Observation.organizer"/>
            <short value="This observation organizes/groups a set of sub-observations"/>
            <definition value="This observation serves as an organizer or grouper for a set of (one or more) sub-observations."/>
            <comment value="An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.organizer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="obs-11"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made."/>
            <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
            <requirements value="For some observations it may be important to know the link between an observation and a particular encounter."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PV1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]">
            <path value="Observation.effective[x]"/>
            <short value="Vital Signs are point in time measurements and are recorded using the dateTime data type"/>
            <definition value="Vital Signs are point in time measurements and are recorded using the dateTime data type."/>
            <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events."/>
            <requirements value="Knowing when an observation was deemed true is important to its relevance as well as determining trends."/>
            <alias value="Occurrence"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <condition value="vsp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <short value="Date/Time this version was made available"/>
            <definition value="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified."/>
            <comment value="For Observations that don't require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn't require the new version to be reviewed and verified again."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.issued"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Observation.performer">
            <path value="Observation.performer"/>
            <short value="Who is responsible for the observation"/>
            <definition value="Who was responsible for asserting the observed value as &quot;true&quot;."/>
            <comment value="Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead."/>
            <requirements value="May give a degree of confidence in the observation and also indicates where follow-up questions should be directed."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.performer"/>
              <min value="0"/>
              <max value="*"/>
            </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/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="preferred"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="The quantity for the vital sign being observed."/>
            <definition value="The quantity for the vital sign being observed."/>
            <comment value="- An observation may have:&#xA;  1.  a single value here&#xA;  1.  both a value and a set of related or component values&#xA;  1.  only a set of related or component values.&#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below. &#xA;- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for BMI."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BMIUnits"/>
              </extension>
              <strength value="required"/>
              <description value="kg/m2"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bmi"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.value[x] is missing."/>
            <comment value="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="obs-11"/>
            <condition value="vsp-2"/>
            <condition value="vsp-4"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code = 'not-asked', also set OBX-11 = 'N'."/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.interpretationContext">
            <path value="Observation.interpretationContext"/>
            <short value="Context for understanding the observation"/>
            <definition value="Contextual information that is relevant to understanding the observation value or interpretation.  The referenced information may be concurrent or precede the observation."/>
            <comment value="This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations. Similarly, information about the timing, view, or imaging mode may be relevant to understanding an imaging measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.interpretationContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretationContext"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying contextual factors that affect interpretation of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation-context"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=PERT].target"/>
            </mapping>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about the observation"/>
            <definition value="Comments about the observation or the results."/>
            <comment value="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation."/>
            <requirements value="Need to be able to provide free text additional information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.note"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <short value="DEPRECATED: Observed body part"/>
            <definition value="DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-20"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="718497002 |Inherent location|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
          </element>
          <element id="Observation.bodyStructure">
            <path value="Observation.bodyStructure"/>
            <short value="Observed body structure"/>
            <definition value="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)."/>
            <comment value="Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.bodyStructure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodyStructure"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body Structures"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="targetSiteCode"/>
            </mapping>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <short value="How it was done"/>
            <definition value="Indicates the mechanism used to perform the observation."/>
            <comment value="Only used if not implicit in code for Observation.code."/>
            <requirements value="In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.method"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationMethod"/>
              </extension>
              <strength value="example"/>
              <description value="Methods for simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="methodCode"/>
            </mapping>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <short value="Specimen used for this observation"/>
            <definition value="The specimen that was used when this observation was made."/>
            <comment value="SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-9"/>
              <severity value="error"/>
              <human value="If Observation.specimen is a reference to Group, the group can only have specimens"/>
              <expression value="(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment (OBX-33 for Specimen.identifier mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <short value="A reference to the device that generates the measurements or the device settings for the device"/>
            <definition value="A reference to the device that generates the measurements or the device settings for the device."/>
            <comment value="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.device"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-18 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
          </element>
          <element id="Observation.supportingDevice">
            <path value="Observation.supportingDevice"/>
            <short value="Device supporting generation of the measurement"/>
            <definition value="A reference to additional devices, kits, or reagents (e.g., Test Kit, Calibration Kit, QC materials) used to support the generation of the measurement."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.supportingDevice"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DeviceType"/>
              </extension>
              <strength value="example"/>
              <description value="Type of device supporting the generation of the measurement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/device-type"/>
            </binding>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <short value="Provides guide for interpretation"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-3"/>
              <severity value="error"/>
              <human value="Must have at least a low or a high or text"/>
              <expression value="low.exists() or high.exists() or text.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.id">
            <path value="Observation.referenceRange.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.extension">
            <path value="Observation.referenceRange.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.modifierExtension">
            <path value="Observation.referenceRange.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <short value="Low Range, if relevant"/>
            <definition value="The value of the low bound of the reference range."/>
            <comment value="When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating low.comparator = '&gt;='.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with low.comparator = '&gt;'.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&lt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-13"/>
              <severity value="error"/>
              <human value="If low.comparator exists, it must be '&gt;=' or '&gt;'."/>
              <expression value="comparator.exists() implies (comparator = '&gt;=' or comparator = '&gt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="High Range, if relevant"/>
            <definition value="The value of the high bound of the reference range."/>
            <comment value="When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        '&gt;=5' - '&lt;=9').  Alternatively, this can be specified explicitly by populating high.comparator = '&lt;='.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is '&gt;5' - '&lt;9'), this is specified with high.comparator = '&lt;'.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is '&gt;=2.3')."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="obs-14"/>
              <severity value="error"/>
              <human value="If high.comparator exists, it must be '&lt;=' or '&lt;'."/>
              <expression value="comparator.exists() implies (comparator = '&lt;=' or comparator = '&lt;')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <path value="Observation.referenceRange.normalValue"/>
            <short value="Normal value, if relevant"/>
            <definition value="The value of the normal value of the reference range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.normalValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationReferenceRangeNormalValue"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the normal value of the observation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:IVL_PQ.normal"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <short value="Reference range qualifier"/>
            <definition value="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed."/>
            <requirements value="Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeMeaning"/>
              </extension>
              <strength value="preferred"/>
              <description value="Code for the meaning of a reference range."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <short value="Reference range population"/>
            <definition value="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used."/>
            <comment value="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed."/>
            <requirements value="Need to be able to identify the target population for proper interpretation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.referenceRange.appliesTo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationRangeType"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying the population the reference range applies to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <short value="Applicable age range, if relevant"/>
            <definition value="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
            <requirements value="Some analytes vary greatly over age."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.age"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Range"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.text">
            <path value="Observation.referenceRange.text"/>
            <short value="Text based reference range in an observation"/>
            <definition value="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="obs-3"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value:ST"/>
            </mapping>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting observations included in a vital signs panel"/>
            <definition value="Used when reporting observations included in a vital signs panel."/>
            <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship"/>
            </mapping>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <short value="Related resource from which the observation is made"/>
            <definition value="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image."/>
            <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.derivedFrom"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="Relationships established by OBX-4 usage"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".targetObservation"/>
            </mapping>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Component results"/>
            <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations."/>
            <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below."/>
            <requirements value="Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-11"/>
            <condition value="obs-10"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="containment by OBX-4?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outBoundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Observation.component.id">
            <path value="Observation.component.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.extension">
            <path value="Observation.component.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component.modifierExtension">
            <path value="Observation.component.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Observation.component.code">
            <path value="Observation.component.code"/>
            <short value="Vital Sign measurement or component"/>
            <definition value="Vital Sign measurement or component."/>
            <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-7"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The value for the vital sign component being observed."/>
            <definition value="The value for the vital sign component being observed."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign component value recorded as a component with UCUM (preferred)"/>
            <definition value="Vital Sign component value recorded as a component with UCUM (preferred)."/>
            <comment value="Used when observation has a set of component observations:&#xA;-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). &#xA;-  If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- If a value is present, the datatype for this element should be determined by the `code`.&#xA;-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.&#xA;-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example 'X' detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="UCUM units"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UCUMunits"/>
              </extension>
              <strength value="preferred"/>
              <description value="UCUM units - for recording Vital Signs and components."/>
              <valueSet value="http://unitsofmeasure.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-2, OBX-5, OBX-6"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363714003 |Interprets|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result value is missing"/>
            <definition value="Provides a reason why the expected value in the element Observation.component.value[x] is missing."/>
            <comment value="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xA;&#xA;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.component.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes specifying why the result (`Observation.value[x]`) is missing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="value.nullFlavor"/>
            </mapping>
          </element>
          <element id="Observation.component.interpretation">
            <path value="Observation.component.interpretation"/>
            <short value="High, low, normal, etc"/>
            <definition value="A categorical assessment of an observation value.  For example, high, low, normal."/>
            <comment value="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result."/>
            <requirements value="For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result."/>
            <alias value="Abnormal Flag"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.interpretation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationInterpretation"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes identifying interpretations of observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="363713009 |Has interpretation|"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result value"/>
            <definition value="Guidance on how to interpret the value by comparison to a normal or recommended range."/>
            <comment value="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties."/>
            <requirements value="Knowing what values are considered &quot;normal&quot; can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Observation.component.referenceRange"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Body Mass Index (BMI) Profile"/>
            <definition value="This profile defines  how to represent Body Mass Index (BMI) observations in FHIR using a standard LOINC code and UCUM units of measure."/>
            <constraint>
              <key value="vs-4"/>
              <severity value="error"/>
              <human value="For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present."/>
              <expression value="dataAbsentReason.exists() or value.exists()"/>
            </constraint>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Mass Index (BMI)"/>
            <definition value="Body Mass Index (BMI)"/>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="39156-5"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsBMI"/>
              </extension>
              <strength value="preferred"/>
              <description value="This identifies the set of LOINC codes that are appropriate for representing body mass index (BMI) vital sign measurements in Observation.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsign-bmi"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Common UCUM units for BMI."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BMIUnits"/>
              </extension>
              <strength value="required"/>
              <description value="kg/m2"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bmi"/>
            </binding>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <condition value="vsp-4"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/catalog"/>
    <resource>
      <StructureDefinition>
        <id value="catalog"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="2"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="sd"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/catalog"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1175"/>
        </identifier>
        <version value="6.0.0-ballot4"/>
        <name value="ProfileForCatalog"/>
        <title value="Profile for  Catalog"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2014-01-31"/>
        <publisher value="Health Level Seven, Inc. - Clinical Quality Information WG"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/cqi/index.cfm"/>
          </telecom>
        </contact>
        <description value="A set of resources composed into a single coherent clinical statement with clinical attestation"/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="fhirdocumentreference"/>
          <uri value="http://hl7.org/fhir/documentreference"/>
          <name value="FHIR DocumentReference"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Composition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Composition">
            <path value="Composition"/>
            <short value="A set of resources composed into a single coherent clinical statement with clinical attestation"/>
            <definition value="A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained."/>
            <comment value="While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition"/>
              <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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity, Role, or Act,Document[classCode=&quot;DOC&quot; and moodCode=&quot;EVN&quot; and isNormalAct()]"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.documents"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="when described by DocumentReference"/>
            </mapping>
          </element>
          <element id="Composition.id">
            <path value="Composition.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.meta">
            <path value="Composition.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.implicitRules">
            <path value="Composition.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.language">
            <path value="Composition.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Composition.text">
            <path value="Composition.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 &quot;clinically safe&quot; 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 a 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 &quot;text blob&quot; 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>
            <condition value="dom-6"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act.text?"/>
            </mapping>
          </element>
          <element id="Composition.contained">
            <path value="Composition.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
            <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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional)."/>
            <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>
            <condition value="dom-2"/>
            <condition value="dom-4"/>
            <condition value="dom-3"/>
            <condition value="dom-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Composition.extension">
            <path value="Composition.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="1"/>
            <max value="*"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.extension:ValidityPeriod">
            <path value="Composition.extension"/>
            <sliceName value="ValidityPeriod"/>
            <short value="The validity of the catalog"/>
            <definition value="The validity of the catalog."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/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()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.modifierExtension">
            <path value="Composition.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Composition.url">
            <path value="Composition.url"/>
            <short value="Canonical identifier for this Composition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers."/>
            <comment value="Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version."/>
            <requirements value="Allows the Composition to be referenced by a single globally unique identifier."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
          </element>
          <element id="Composition.identifier">
            <path value="Composition.identifier"/>
            <short value="Version-independent identifier for the Composition"/>
            <definition value="A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time."/>
            <comment value="Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.identifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Identifier"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Document.id / Document.setId"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".setId"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.identifier"/>
            </mapping>
          </element>
          <element id="Composition.version">
            <path value="Composition.version"/>
            <short value="An explicitly assigned identifier of a variation of the content in the Composition"/>
            <definition value="An explicitly assigned identifier of a variation of the content in the Composition."/>
            <comment value="While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the Composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".versionNumber"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.version"/>
            </mapping>
          </element>
          <element id="Composition.consent">
            <path value="Composition.consent"/>
            <short value="Represents informed consents and medico-legal transactions"/>
            <definition value="References the consents associated with this document. Examples include a consent to perform the clinical service being documented (.event) or a consent for the information contained in the document to be released to a third party."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.consent"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Consent"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="cda"/>
              <map value=".authorization.consent"/>
            </mapping>
          </element>
          <element id="Composition.basedOn">
            <path value="Composition.basedOn"/>
            <short value="Fulfills plan, proposal or order"/>
            <definition value="A plan, proposal or order that is fulfilled in whole or in part by this composition."/>
            <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
            <alias value="fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.basedOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Appointment"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AppointmentResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CommunicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EnrollmentRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Task"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/VisionPrescription"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".inFulfillmentOf"/>
            </mapping>
          </element>
          <element id="Composition.status">
            <path value="Composition.status"/>
            <short value="registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown"/>
            <definition value="The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document."/>
            <comment value="If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag &quot;entered-in-error&quot; is why this element is labeled as a modifier of other elements.   &#xA;&#xA;Some reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required."/>
            <requirements value="Need to be able to mark interim, amended, or withdrawn compositions or documents."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="true"/>
            <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CompositionStatus"/>
              </extension>
              <strength value="required"/>
              <description value="The workflow status of the composition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composition-status|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interim: .completionCode=&quot;IN&quot; &amp; ./statusCode[isNormalDatatype()]=&quot;active&quot;;  final: .completionCode=&quot;AU&quot; &amp;&amp;  ./statusCode[isNormalDatatype()]=&quot;complete&quot; and not(./inboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()]/source[subsumesCode(&quot;ActClass#CACT&quot;) and moodCode=&quot;EVN&quot; and domainMember(&quot;ReviseComposition&quot;, code) and isNormalAct()]);  amended: .completionCode=&quot;AU&quot; &amp;&amp;  ./statusCode[isNormalDatatype()]=&quot;complete&quot; and ./inboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()]/source[subsumesCode(&quot;ActClass#CACT&quot;) and moodCode=&quot;EVN&quot; and domainMember(&quot;ReviseComposition&quot;, code) and isNormalAct() and statusCode=&quot;completed&quot;];  withdrawn : .completionCode=NI &amp;&amp;  ./statusCode[isNormalDatatype()]=&quot;obsolete&quot;"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="n/a"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.docStatus"/>
            </mapping>
          </element>
          <element id="Composition.type">
            <path value="Composition.type"/>
            <short value="The type of document - a Catalog"/>
            <definition value="The type of document - a Catalog."/>
            <comment value="For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding."/>
            <requirements value="Key metadata element describing the composition, used in searching/filtering."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <fixedCodeableConcept>
              <text value="Catalog"/>
            </fixedCodeableConcept>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DocumentType"/>
              </extension>
              <strength value="preferred"/>
              <description value="Type of a composition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/doc-typecodes"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".code"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.type"/>
            </mapping>
          </element>
          <element id="Composition.category">
            <path value="Composition.category"/>
            <short value="The Content of the section"/>
            <definition value="The content (narrative and data) associated with the section."/>
            <requirements value="Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.category"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CatalogType"/>
              </extension>
              <strength value="example"/>
              <description value="The type of catalog."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/catalog-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="n/a"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumenttReference.category"/>
            </mapping>
          </element>
          <element id="Composition.subject">
            <path value="Composition.subject"/>
            <short value="Who and/or what the composition is about"/>
            <definition value="Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure)."/>
            <comment value="For clinical documents, this is usually the patient."/>
            <requirements value="Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Composition.subject"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=&quot;SBJ&quot;].role[typeCode=&quot;PAT&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".recordTarget"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.subject"/>
            </mapping>
          </element>
          <element id="Composition.encounter">
            <path value="Composition.encounter"/>
            <short value="Context of the Composition"/>
            <definition value="Describes the clinical encounter or type of care this documentation is associated with."/>
            <requirements value="Provides context for the composition and supports searching."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.encounter"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(highest(./outboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()], priorityNumber)/target[moodCode=&quot;EVN&quot; and classCode=(&quot;ENC&quot;, &quot;PCPR&quot;) and isNormalAct])"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".componentOf.encompassingEncounter"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.context"/>
            </mapping>
          </element>
          <element id="Composition.date">
            <path value="Composition.date"/>
            <short value="When the Catalog was created"/>
            <definition value="When the Catalog was created."/>
            <comment value="The Last Modified Date on the composition may be after the date of the document was attested without being changed. This means that the date on an amended document is the date of the amendment, not the date of original authorship."/>
            <requirements value="dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring this version of the Composition. When packaged in a document, [Bundle.timestamp](bundle-definitions.html#Bundle.timestamp) is the date of packaging."/>
            <alias value="IssueDate"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.date"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".effectiveTime[type=&quot;TS&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.content.attachment.date, DocumentReference.date"/>
            </mapping>
          </element>
          <element id="Composition.useContext">
            <path value="Composition.useContext"/>
            <short value="The context that the content is intended to support"/>
            <definition value="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances."/>
            <comment value="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply."/>
            <requirements value="Assist in searching for appropriate content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.useContext"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="UsageContext"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.author">
            <path value="Composition.author"/>
            <short value="Who and/or what authored the composition"/>
            <definition value="Identifies who is responsible for the information in the composition, not necessarily who typed it in."/>
            <comment value="When the Composition is software-generated, a Device can be referenced. When a software-generated Composition is verified by a human (but not authored by that human), use the attester element to identify the human(s) who performed the verification."/>
            <requirements value="Identifies who is responsible for the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.author"/>
              <min value="0"/>
              <max value="*"/>
            </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/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.author"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=&quot;AUT&quot;].role[classCode=&quot;ASSIGNED&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".author.assignedAuthor"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.author"/>
            </mapping>
          </element>
          <element id="Composition.participant">
            <path value="Composition.participant"/>
            <short value="Identifies supporting entities, including parents, relatives, caregivers, insurance policyholders, guarantors, and others related in some way to the patient"/>
            <definition value="Identifies supporting entities, including parents, relatives, caregivers, insurance policyholders, guarantors, and others related in some way to the patient. A supporting person or organization is an individual or an organization with a relationship to the patient. A supporting person who is playing multiple roles would be recorded in multiple participants (e.g., emergency contact and next-of-kin)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.participant"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.participant.id">
            <path value="Composition.participant.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.participant.extension">
            <path value="Composition.participant.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.participant.modifierExtension">
            <path value="Composition.participant.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.participant.type">
            <path value="Composition.participant.type"/>
            <short value="Meaning and purpose of participation, in creation of the clinical document"/>
            <definition value="Meaning and purpose of participation, in creation of the clinical document. The list includes: data entry person, informant, primary information recipient, and tracker. Other types are allowed."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Composition.participant.type"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FHIRClinicalDocParticipantVs"/>
              </extension>
              <strength value="preferred"/>
              <description value="FHIR Clinical Document Participant Types. Author, Authenticator, Custodian, Legal Authenticator, Record Target and Subject are found in distinct, named fields in FHIR. Thus, these types are excluded."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/fhir-clinical-doc-participant"/>
            </binding>
          </element>
          <element id="Composition.participant.function">
            <path value="Composition.participant.function"/>
            <definition value="Exact function of the participant in the creation of the clinical document. This is more granular than type."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.participant.function"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ParticipationFunction"/>
              </extension>
              <strength value="preferred"/>
              <description value="To specify the exact function an actor had in a service in all necessary detail."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/v3-ParticipationFunction"/>
            </binding>
          </element>
          <element id="Composition.participant.time">
            <path value="Composition.participant.time"/>
            <short value="Time period of participation"/>
            <definition value="Time period of participation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.participant.time"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.participant.party">
            <path value="Composition.participant.party"/>
            <short value="Who the participant is"/>
            <definition value="Who the participant is."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.participant.party"/>
              <min value="1"/>
              <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.name">
            <path value="Composition.name"/>
            <short value="Name for this Composition (computer friendly)"/>
            <definition value="A natural language name identifying the {{title}}. This name should be usable as an identifier for the module by machine processing applications such as code generation."/>
            <comment value="The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.title">
            <path value="Composition.title"/>
            <short value="Human Readable name/title"/>
            <definition value="Official human-readable label for the composition."/>
            <comment value="For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a &quot;consultation&quot; or &quot;progress note&quot;). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./title"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".title"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.description, DocumentReference.content.attachment.title"/>
            </mapping>
          </element>
          <element id="Composition.note">
            <path value="Composition.note"/>
            <short value="For any additional notes"/>
            <definition value="For any additional notes."/>
            <comment value="A comment, general note or annotation not coded elsewhere."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.classification">
            <path value="Composition.classification"/>
            <short value="The assignment to an organizing scheme"/>
            <definition value="The assignment to an organizing scheme, including the type of classification and one or more classifier values."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.classification"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Composition.classification.id">
            <path value="Composition.classification.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.classification.extension">
            <path value="Composition.classification.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.classification.modifierExtension">
            <path value="Composition.classification.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.classification.type">
            <path value="Composition.classification.type"/>
            <short value="The kind of classifier (e.g. population, intervention)"/>
            <definition value="The kind of classifier (e.g. population, intervention, comparator, outcome)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.classification.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="EvidenceClassifierTypeExample"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/evidence-classifier-type-example"/>
            </binding>
          </element>
          <element id="Composition.classification.classifier">
            <path value="Composition.classification.classifier"/>
            <short value="The specific classification value"/>
            <definition value="The specific classification value."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.classification.classifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConditionProblemDiagnosisCodes"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
          </element>
          <element id="Composition.attester">
            <path value="Composition.attester"/>
            <short value="Attests to accuracy of composition"/>
            <definition value="A participant who has attested to the accuracy of the composition/document."/>
            <comment value="Only list each attester once."/>
            <requirements value="Identifies responsibility for the accuracy of the composition content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.attester"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="cmp-3"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=&quot;AUTHEN&quot;].role[classCode=&quot;ASSIGNED&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".authenticator/.legalAuthenticator"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.attester"/>
            </mapping>
          </element>
          <element id="Composition.attester.id">
            <path value="Composition.attester.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.attester.extension">
            <path value="Composition.attester.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.attester.modifierExtension">
            <path value="Composition.attester.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.attester.mode">
            <path value="Composition.attester.mode"/>
            <short value="personal | professional | legal | official"/>
            <definition value="The type of attestation the authenticator offers."/>
            <requirements value="Indicates the level of authority of the attestation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.attester.mode"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CompositionAttestationMode"/>
              </extension>
              <strength value="preferred"/>
              <description value="The way in which a person authenticated a composition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composition-attestation-mode"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./modeCode)"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="implied by .authenticator/.legalAuthenticator"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.attester.mode"/>
            </mapping>
          </element>
          <element id="Composition.attester.time">
            <path value="Composition.attester.time"/>
            <short value="When the composition was attested"/>
            <definition value="When the composition was attested by the party."/>
            <requirements value="Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.attester.time"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./time[type=&quot;TS&quot; and isNormalDatatype()]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".authenticator.time"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.attester.time"/>
            </mapping>
          </element>
          <element id="Composition.attester.party">
            <path value="Composition.attester.party"/>
            <short value="Who attested the composition"/>
            <definition value="Who attested the composition in the specified way."/>
            <requirements value="Identifies who has taken on the responsibility for accuracy of the composition content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.attester.party"/>
              <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./role[classCode=&quot;ASSIGNED&quot; and isNormalRole]/player[determinerCode=&quot;INST&quot; and classCode=(&quot;DEV&quot;, &quot;PSN&quot;) and isNormalEntity()] or ./role[classCode=&quot;ASSIGNED&quot; and isNormalRole and not(player)]/scoper[determinerCode=&quot;INST&quot; and classCode=&quot;ORG&quot; and isNormalEntity()]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".authenticator.assignedEnttty"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.attester.party"/>
            </mapping>
          </element>
          <element id="Composition.custodian">
            <path value="Composition.custodian"/>
            <short value="Organization which maintains the composition"/>
            <definition value="Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information."/>
            <comment value="This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged."/>
            <requirements value="Identifies where to go to find the current version, where to report issues, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.custodian"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=&quot;RCV&quot;].role[classCode=&quot;CUST&quot;].scoper[classCode=&quot;ORG&quot; and determinerCode=&quot;INST&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".custodian.assignedCustodian"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.custodian"/>
            </mapping>
          </element>
          <element id="Composition.relatesTo">
            <path value="Composition.relatesTo"/>
            <short value="Relationships to other compositions/documents"/>
            <definition value="Relationships that this composition has with other compositions or documents (FHIR or non-FHIR resources) that already exist."/>
            <comment value="To reference (using relatesTo) a Bundle of type &quot;document&quot; or another Composition where you only have the identifier, use a targetReference with an identifier.\&#xA;When a Composition is an alternate representation of another type of document e.g. CDA, the other document could be referenced in a DocumentReference resource.  &#xA;Here is an example of using relatesTo to reference another Bundle of type &quot;document&quot; or Composition where you only have the identifier:&#xA;```&#xA;&quot;relatesTo&quot;: [{&#xA;  &quot;type&quot;: &quot;replaces&quot;,&#xA;  &quot;targetReference&quot;: {&#xA;    &quot;identifier&quot;: { &#xA;      &quot;system&quot;: &quot;...&quot;, &#xA;      &quot;value&quot;: &quot;...&quot;&#xA;    }&#xA;  } &#xA;}]&#xA;```"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.relatesTo"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".relatedDocument"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.relatesTo"/>
            </mapping>
          </element>
          <element id="Composition.relatesTo.id">
            <path value="Composition.relatesTo.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.relatesTo.extension">
            <path value="Composition.relatesTo.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.relatesTo.modifierExtension">
            <path value="Composition.relatesTo.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.relatesTo.type">
            <path value="Composition.relatesTo.type"/>
            <short value="documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as | reprint | reprint-of | summarizes"/>
            <definition value="The type of relationship to the related artifact."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.relatesTo.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ArtifactRelationshipType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/artifact-relationship-type"/>
            </binding>
          </element>
          <element id="Composition.relatesTo.target[x]">
            <path value="Composition.relatesTo.target[x]"/>
            <short value="The artifact that is related to this Composition"/>
            <definition value="The artifact that is related to this Composition Resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.relatesTo.target[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </type>
            <type>
              <code value="markdown"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.event">
            <path value="Composition.event"/>
            <short value="The clinical service(s) being documented"/>
            <definition value="The clinical service, such as a colonoscopy or an appendectomy, being documented."/>
            <comment value="The event needs to be consistent with the type element, though can provide further information if desired."/>
            <requirements value="Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.event"/>
              <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 or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=&quot;SUBJ&quot;].target[classCode&lt;'ACT']"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".documentationOf.serviceEvent"/>
            </mapping>
          </element>
          <element id="Composition.event.id">
            <path value="Composition.event.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.event.extension">
            <path value="Composition.event.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.event.modifierExtension">
            <path value="Composition.event.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.event.period">
            <path value="Composition.event.period"/>
            <short value="The period covered by the documentation"/>
            <definition value="The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.event.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.period"/>
            </mapping>
          </element>
          <element id="Composition.event.detail">
            <path value="Composition.event.detail"/>
            <short value="The event(s) being documented, as code(s), reference(s), or both"/>
            <definition value="Represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a &quot;History and Physical Report&quot; in which case the procedure being documented is necessarily a &quot;History and Physical&quot; act. The events may be included as a code or as a reference to an other resource."/>
            <comment value="An event can further specialize the act inherent in Composition.type, such as where it is simply &quot;Procedure Report&quot; and the procedure was a &quot;colonoscopy&quot;. If one or more events are included, they SHALL NOT conflict with the values inherent in Composition.type as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.event.detail"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DocumentEventType"/>
              </extension>
              <strength value="example"/>
              <description value="This list of codes represents the main clinical acts being documented."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].target"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="n/a"/>
            </mapping>
            <mapping>
              <identity value="fhirdocumentreference"/>
              <map value="DocumentReference.event"/>
            </mapping>
          </element>
          <element id="Composition.section">
            <path value="Composition.section"/>
            <short value="Composition is broken into sections"/>
            <definition value="The root of the sections that make up the composition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.section"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="cmp-3"/>
            <constraint>
              <key value="cmp-1"/>
              <severity value="error"/>
              <human value="A section must contain at least one of text, entries, or sub-sections"/>
              <expression value="text.exists() or entry.exists() or section.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Composition"/>
            </constraint>
            <constraint>
              <key value="cmp-2"/>
              <severity value="error"/>
              <human value="A section can only have an emptyReason if no entries are included"/>
              <expression value="emptyReason.empty() or entry.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Composition"/>
            </constraint>
            <constraint>
              <key value="cmp-3"/>
              <severity value="warning"/>
              <human value="If attester exists then the Composition either needs a text or a section"/>
              <expression value="%resource.attester.exists() implies(text.exists() or section.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Composition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./outboundRelationship[typeCode=&quot;COMP&quot; and isNormalActRelationship()]/target[moodCode=&quot;EVN&quot; and classCode=&quot;DOCSECT&quot; and isNormalAct]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".component.structuredBody.component.section"/>
            </mapping>
          </element>
          <element id="Composition.section.id">
            <path value="Composition.section.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.section.extension">
            <path value="Composition.section.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.section.modifierExtension">
            <path value="Composition.section.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Composition.section.title">
            <path value="Composition.section.title"/>
            <short value="Label for section (e.g. for ToC)"/>
            <definition value="The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents."/>
            <comment value="The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element."/>
            <requirements value="Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized."/>
            <alias value="header"/>
            <alias value="label"/>
            <alias value="caption"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./title"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Composition.section.code">
            <path value="Composition.section.code"/>
            <short value="Classification of section (recommended)"/>
            <definition value="A code identifying the kind of content contained within the section. This must be consistent with the section title."/>
            <comment value="The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   &#xA;&#xA;If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code."/>
            <requirements value="Provides computable standardized labels to topics within the document."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CompositionSectionType"/>
              </extension>
              <strength value="example"/>
              <description value="Classification of a section of a composition/document."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/doc-section-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Composition.section.author">
            <path value="Composition.section.author"/>
            <short value="Who and/or what authored the section, when the section is authored by someone other than the composition.author"/>
            <definition value="Identifies who is responsible for the information in this section, not necessarily who typed it in.   &#xA;&#xA;The actual author of the section when it is not the author of the composition. If author is not specified, the author is assumed to be the author of the parent section or the author of the composition."/>
            <requirements value="Identifies who is responsible for the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.section.author"/>
              <min value="0"/>
              <max value="*"/>
            </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/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.author"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=&quot;AUT&quot;].role[classCode=&quot;ASSIGNED&quot;]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".author.assignedAuthor"/>
            </mapping>
          </element>
          <element id="Composition.section.focus">
            <path value="Composition.section.focus"/>
            <short value="Who/what the section is about, when it is not about the subject of composition"/>
            <definition value="The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources)."/>
            <comment value="Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.focus"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="cda"/>
              <map value=".subject? (CDA did not differentiate between subject and focus)"/>
            </mapping>
          </element>
          <element id="Composition.section.text">
            <path value="Composition.section.text"/>
            <short value="Text summary of the section, for human interpretation"/>
            <definition value="A human-readable narrative that contains the attested content of the section, 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 &quot;clinically safe&quot; for a human to just read the narrative."/>
            <comment value="Document profiles may define what content should be represented in the narrative to ensure clinical safety."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Narrative"/>
            </type>
            <condition value="cmp-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Composition.section.note">
            <path value="Composition.section.note"/>
            <short value="Information about the section contents that is not represented by any of the section entries"/>
            <definition value="Information about the section contents that is not represented by any of the section entries."/>
            <comment value="A comment, general note or annotation not coded elsewhere in the section."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.section.note"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Annotation"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Composition.section.orderedBy">
            <path value="Composition.section.orderedBy"/>
            <short value="Order of section entries"/>
            <definition value="Specifies the order applied to the items in the section entries."/>
            <comment value="Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order."/>
            <requirements value="Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.orderedBy"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SectionEntryOrder"/>
              </extension>
              <strength value="preferred"/>
              <description value="What order applies to the items in the entry."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/list-order"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=COMP].sequenceNumber &gt; 1"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.section.entry">
            <path value="Composition.section.entry"/>
            <short value="A reference to data that supports this section"/>
            <definition value="A reference to the actual resource from which the narrative in the section is derived."/>
            <comment value="If there are no entries in the list, an emptyReason SHOULD be provided."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.section.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </type>
            <condition value="cmp-1"/>
            <condition value="cmp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".entry"/>
            </mapping>
          </element>
          <element id="Composition.section.emptyReason">
            <path value="Composition.section.emptyReason"/>
            <short value="Why the section is empty"/>
            <definition value="If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason."/>
            <comment value="The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases."/>
            <requirements value="Allows capturing things like &quot;none exist&quot; or &quot;not asked&quot; which can be important for most lists."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Composition.section.emptyReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="cmp-2"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SectionEmptyReason"/>
              </extension>
              <strength value="preferred"/>
              <description value="If a section is empty, why it is empty."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/list-empty-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".inboundRelationship[typeCode=SUBJ,code&lt;ListEmptyReason].value[type=CD]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Composition.section.section">
            <path value="Composition.section.section"/>
            <short value="Nested Section"/>
            <definition value="A nested sub-section within this section."/>
            <comment value="Nested sections are primarily used to help human readers navigate to particular portions of the document."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Composition.section.section"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Composition#Composition.section"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="./outboundRelationship[typeCode=&quot;COMP&quot; and isNormalActRelationship()]/target[moodCode=&quot;EVN&quot; and classCode=&quot;DOCSECT&quot; and isNormalAct]"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value=".component.section"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Composition">
            <path value="Composition"/>
            <short value="A set of resources composed into a single coherent clinical statement with clinical attestation"/>
            <definition value="A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Composition.extension:ValidityPeriod">
            <path value="Composition.extension"/>
            <sliceName value="ValidityPeriod"/>
            <short value="The validity of the catalog"/>
            <definition value="The validity of the catalog."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"/>
            </type>
          </element>
          <element id="Composition.type">
            <path value="Composition.type"/>
            <short value="The type of document - a Catalog"/>
            <definition value="The type of document - a Catalog."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <fixedCodeableConcept>
              <text value="Catalog"/>
            </fixedCodeableConcept>
          </element>
          <element id="Composition.category">
            <path value="Composition.category"/>
            <short value="The Content of the section"/>
            <definition value="The content (narrative and data) associated with the section."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CatalogType"/>
              </extension>
              <strength value="example"/>
              <description value="The type of catalog."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/catalog-type"/>
            </binding>
          </element>
          <element id="Composition.subject">
            <path value="Composition.subject"/>
            <short value="Who and/or what the composition is about"/>
            <definition value="Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure)."/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </type>
          </element>
          <element id="Composition.date">
            <path value="Composition.date"/>
            <short value="When the Catalog was created"/>
            <definition value="When the Catalog was created."/>
            <alias value="IssueDate"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="dateTime"/>
            </type>
          </element>
          <element id="Composition.section">
            <path value="Composition.section"/>
            <min value="0"/>
            <max value="*"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/history-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="history-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="normative"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/summary">
          <valueString value="#### Complete Summary of the Mandatory Requirements&#xD;&#xD;1.  One code in `Observation.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'29463-7'**&#xD;    -   Other additional Codings are allowed in `Observation.code`- e.g. more specific LOINC&#xD;        Codes, SNOMED CT concepts, system specific codes. All codes&#xD;        SHALL have an system value&#xD;1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason&#xD;   - Each Observation.valueQuantity must have:&#xD;     - One numeric value in Observation.valueQuantity.value&#xD;     - a fixed Observation.valueQuantity.system=&quot;http://unitsofmeasure.org&quot;&#xD;     - a UCUM unit code in Observation.valueQuantity.code = **'kg', 'g', or '[lb_av]'**"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/history-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="HistoryBundle"/>
        <title value="History bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR history bundle."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="history"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="PUT"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="POST"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="GET"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="DELETE"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="history"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="PUT"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="POST"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="GET"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="DELETE"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/search-set-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="search-set-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/search-set-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="SearchSetBundle"/>
        <title value="Search Set Bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR search bundle."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="searchset"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="search.mode"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome">
            <path value="Bundle.entry"/>
            <sliceName value="operationOutcome"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:operationOutcome.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="OperationOutcome"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:operationOutcome.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="outcome"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:operationOutcome.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:operationOutcome.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:operationOutcome.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:operationOutcome.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:operationOutcome.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other">
            <path value="Bundle.entry"/>
            <sliceName value="other"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:other.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:other.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="searchset"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="search.mode"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
          </element>
          <element id="Bundle.entry:operationOutcome">
            <path value="Bundle.entry"/>
            <sliceName value="operationOutcome"/>
            <max value="1"/>
          </element>
          <element id="Bundle.entry:operationOutcome.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:operationOutcome.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
            <type>
              <code value="OperationOutcome"/>
            </type>
          </element>
          <element id="Bundle.entry:operationOutcome.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <min value="1"/>
            <patternCode value="outcome"/>
          </element>
          <element id="Bundle.entry:operationOutcome.request">
            <path value="Bundle.entry.request"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:operationOutcome.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:other">
            <path value="Bundle.entry"/>
            <sliceName value="other"/>
          </element>
          <element id="Bundle.entry:other.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:other.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:other.request">
            <path value="Bundle.entry.request"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:other.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="subscription-notification-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="SubscriptionNotificationBundle"/>
        <title value="Subscription Notification bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a Subscription Notification Bundle."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="subscription-notification"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="exists"/>
                <path value="$this"/>
              </discriminator>
              <description value="Slice to enforce first entry is NessageHeader."/>
              <ordered value="true"/>
              <rules value="openAtEnd"/>
            </slicing>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first">
            <path value="Bundle.entry"/>
            <sliceName value="first"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:first.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="SubscriptionStatus"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:first.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:first.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:first.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:first.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:first.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:first.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:first.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other">
            <path value="Bundle.entry"/>
            <sliceName value="other"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:other.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:other.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:other.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:other.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:other.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="subscription-notification"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="exists"/>
                <path value="$this"/>
              </discriminator>
              <description value="Slice to enforce first entry is NessageHeader."/>
              <ordered value="true"/>
              <rules value="openAtEnd"/>
            </slicing>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:first">
            <path value="Bundle.entry"/>
            <sliceName value="first"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Bundle.entry:first.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:first.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
            <type>
              <code value="SubscriptionStatus"/>
            </type>
          </element>
          <element id="Bundle.entry:first.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:first.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:other">
            <path value="Bundle.entry"/>
            <sliceName value="other"/>
          </element>
          <element id="Bundle.entry:other.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:other.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:other.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/batch-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="batch-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/batch-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="BatchBundle"/>
        <title value="Batch bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR batch bundle."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="bundle"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="PUT"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="POST"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="GET"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="DELETE"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="PATCH"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head">
            <path value="Bundle.entry"/>
            <sliceName value="head"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:head.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="HEAD"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:head.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="bundle"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="PUT"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="POST"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="GET"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="DELETE"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:patch.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="PATCH"/>
          </element>
          <element id="Bundle.entry:patch.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head">
            <path value="Bundle.entry"/>
            <sliceName value="head"/>
          </element>
          <element id="Bundle.entry:head.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:head.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:head.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="HEAD"/>
          </element>
          <element id="Bundle.entry:head.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/batch-response-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="batch-response-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/batch-response-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="BatchResponseBundle"/>
        <title value="Batch response bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR batch response."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="batch-response"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="batch-response"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/transaction-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="transaction-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/transaction-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="TransactionBundle"/>
        <title value="Transaction bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR transaction."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="transaction"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="PUT"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:put.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:put.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:put.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:put.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="POST"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:post.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:post.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:post.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:post.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="GET"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:get.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:get.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:get.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:get.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="DELETE"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:delete.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:delete.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:delete.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:delete.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="PATCH"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:patch.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:patch.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:patch.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:patch.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head">
            <path value="Bundle.entry"/>
            <sliceName value="head"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:head.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="HEAD"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry:head.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry:head.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry:head.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry:head.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="transaction"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="request.method"/>
              </discriminator>
              <description value="Slice defining each method"/>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
          </element>
          <element id="Bundle.entry:put">
            <path value="Bundle.entry"/>
            <sliceName value="put"/>
          </element>
          <element id="Bundle.entry:put.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:put.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:put.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="PUT"/>
          </element>
          <element id="Bundle.entry:put.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post">
            <path value="Bundle.entry"/>
            <sliceName value="post"/>
          </element>
          <element id="Bundle.entry:post.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:post.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:post.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="POST"/>
          </element>
          <element id="Bundle.entry:post.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get">
            <path value="Bundle.entry"/>
            <sliceName value="get"/>
          </element>
          <element id="Bundle.entry:get.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:get.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:get.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="GET"/>
          </element>
          <element id="Bundle.entry:get.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete">
            <path value="Bundle.entry"/>
            <sliceName value="delete"/>
          </element>
          <element id="Bundle.entry:delete.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:delete.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:delete.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="DELETE"/>
          </element>
          <element id="Bundle.entry:delete.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:patch">
            <path value="Bundle.entry"/>
            <sliceName value="patch"/>
          </element>
          <element id="Bundle.entry:patch.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:patch.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:patch.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="PATCH"/>
          </element>
          <element id="Bundle.entry:patch.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head">
            <path value="Bundle.entry"/>
            <sliceName value="head"/>
          </element>
          <element id="Bundle.entry:head.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:head.resource">
            <path value="Bundle.entry.resource"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry:head.request">
            <path value="Bundle.entry.request"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry:head.request.method">
            <path value="Bundle.entry.request.method"/>
            <patternCode value="HEAD"/>
          </element>
          <element id="Bundle.entry:head.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/transaction-response-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="transaction-response-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/transaction-response-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="TransactionResponseBundle"/>
        <title value="Transaction response bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR transaction response."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Contains a collection of resources"/>
            <definition value="A container for a collection of resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <patternCode value="transaction-response"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <patternCode value="transaction-response"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/document-bundle"/>
    <resource>
      <StructureDefinition>
        <id value="document-bundle"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
          <valueString value="Foundation.Other"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
          <valueCode value="not-classified"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="fhir"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/document-bundle"/>
        <version value="6.0.0-ballot4"/>
        <name value="DocumentBundle"/>
        <title value="Document bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2026-06-18T02:37:58+00:00"/>
        <publisher value="HL7 International / FHIR Infrastructure"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/fiwg"/>
          </telecom>
        </contact>
        <description value="This profile holds all the requirements and constraints related to a FHIR document."/>
        <fhirVersion value="6.0.0-ballot4"/>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2 Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="cda"/>
          <uri value="http://hl7.org/v3/cda"/>
          <name value="CDA (R2)"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Bundle"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
        <derivation value="constraint"/>
        <snapshot>
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
            <valueString value="6.0.0-ballot4"/>
          </extension>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Represents a FHIR document"/>
            <definition value="A container the resources of a FHIR document."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="bdl-1"/>
              <requirements value="There are only two Bundle types where paging is supported and there's a need to know the size of the result set beyond what's in the current instance."/>
              <severity value="error"/>
              <human value="total only when a search or history"/>
              <expression value="total.empty() or (type = 'searchset') or (type = 'history')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-2"/>
              <severity value="error"/>
              <human value="entry.search only when a search"/>
              <expression value="(type = 'searchset') or entry.search.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-7"/>
              <severity value="error"/>
              <human value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)"/>
              <expression value="(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&amp;iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-9"/>
              <severity value="error"/>
              <human value="A document must have an identifier with a system and a value"/>
              <expression value="type = 'document' implies (identifier.system.exists() and identifier.value.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-10"/>
              <severity value="error"/>
              <human value="A document must have a date"/>
              <expression value="type = 'document' implies (timestamp.hasValue())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-11"/>
              <severity value="error"/>
              <human value="A document must have a Composition as the first resource"/>
              <expression value="type = 'document' implies entry.first().resource.is(Composition)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-12"/>
              <severity value="error"/>
              <human value="A message must have a MessageHeader as the first resource"/>
              <expression value="type = 'message' implies entry.first().resource.is(MessageHeader)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-13"/>
              <severity value="error"/>
              <human value="A subscription-notification must have a SubscriptionStatus as the first resource"/>
              <expression value="type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-14"/>
              <severity value="error"/>
              <human value="entry.request.method PATCH not allowed for history"/>
              <expression value="type = 'history' implies entry.request.method != 'PATCH'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-15"/>
              <severity value="error"/>
              <human value="Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated"/>
              <expression value="type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-16"/>
              <severity value="error"/>
              <human value="Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'."/>
              <expression value="issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-17"/>
              <severity value="error"/>
              <human value="Use and meaning of issues for documents has not been validated because the content will not be rendered in the document."/>
              <expression value="type = 'document' implies issues.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-18"/>
              <severity value="error"/>
              <human value="Self link is required for searchsets."/>
              <expression value="type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3a"/>
              <severity value="error"/>
              <human value="For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements"/>
              <expression value="type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3b"/>
              <severity value="error"/>
              <human value="For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3c"/>
              <severity value="error"/>
              <human value="For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH"/>
              <expression value="type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-3d"/>
              <severity value="error"/>
              <human value="For collections of type transaction-response or batch-response, all entries must contain response elements"/>
              <expression value="type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Entity. Role, or Act,N/A"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="infrastructure.structure"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument, if bundle.type = document"/>
            </mapping>
          </element>
          <element id="Bundle.id">
            <path value="Bundle.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="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Resource.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.meta">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.implicitRules">
            <path value="Bundle.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension."/>
            <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 its 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <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 its meaning or interpretation"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.language">
            <path value="Bundle.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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <short value="Persistent identifier for the bundle"/>
            <definition value="A persistent identifier for the bundle that won't change as a bundle is copied from server to server."/>
            <comment value="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
            <requirements value="bdl-9 - A document must have an identifier with a system and a value"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.identifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Identifier"/>
            </type>
            <condition value="bdl-9"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.id"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.id">
            <path value="Bundle.identifier.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.extension">
            <path value="Bundle.identifier.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.use">
            <path value="Bundle.identifier.use"/>
            <short value="usual | official | temp | secondary | old (If known)"/>
            <definition value="The purpose of this identifier."/>
            <comment value="Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
            <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Identifier.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="true"/>
            <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary id for a permanent one."/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="IdentifierUse"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the purpose for this identifier, if known ."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Role.code or implied by context"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.type">
            <path value="Bundle.identifier.type"/>
            <short value="Description of identifier"/>
            <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
            <comment value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
            <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Identifier.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="IdentifierType"/>
              </extension>
              <strength value="extensible"/>
              <description value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/identifier-type"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="CX.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Role.code or implied by context"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.system">
            <path value="Bundle.identifier.system"/>
            <short value="The namespace for the identifier value"/>
            <definition value="Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique."/>
            <comment value="Identifier.system is always case sensitive. The FHIR specification, terminology.hl7.org and HL7 affiliates (for identifiers specific to their jurisdiction) define identifier systems that SHALL be used for certain types of identifiers.  Specific rules can be found [here](identifier-registry.html)."/>
            <requirements value="There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Identifier.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <example>
              <label value="General"/>
              <valueUri value="http://www.acme.com/identifiers/patient"/>
            </example>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="CX.4 / EI-2-4"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="II.root or Role.id.root"/>
            </mapping>
            <mapping>
              <identity value="servd"/>
              <map value="./IdentifierType"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.value">
            <path value="Bundle.identifier.value"/>
            <short value="The value that is unique"/>
            <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system."/>
            <comment value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processor to be confident that non-case-sensitive processing is safe."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Identifier.value"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="123456"/>
            </example>
            <condition value="ident-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="CX.1 / EI.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
            </mapping>
            <mapping>
              <identity value="servd"/>
              <map value="./Value"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.period">
            <path value="Bundle.identifier.period"/>
            <short value="Time period when id is/was valid for use"/>
            <definition value="Time period during which identifier is/was valid for use."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Identifier.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="CX.7 + CX.8"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Role.effectiveTime or implied by context"/>
            </mapping>
            <mapping>
              <identity value="servd"/>
              <map value="./StartDate and ./EndDate"/>
            </mapping>
          </element>
          <element id="Bundle.identifier.assigner">
            <path value="Bundle.identifier.assigner"/>
            <short value="Organization that issued id (may be just text)"/>
            <definition value="Organization that issued/manages the identifier."/>
            <comment value="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Identifier.assigner"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
            </mapping>
            <mapping>
              <identity value="servd"/>
              <map value="./IdentifierIssuingAuthority"/>
            </mapping>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <short value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification"/>
            <definition value="Indicates the purpose of this bundle - how it is intended to be used."/>
            <comment value="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types."/>
            <requirements value="Set type to document."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="document"/>
            <condition value="bdl-1"/>
            <condition value="bdl-2"/>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-7"/>
            <condition value="bdl-9"/>
            <condition value="bdl-10"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-17"/>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BundleType"/>
              </extension>
              <strength value="required"/>
              <description value="Indicates the purpose of a bundle - how it is intended to be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <short value="When the bundle was assembled"/>
            <definition value="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle."/>
            <comment value="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xA;&#xA;Usage:&#xA;&#xA;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xA;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xA;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xA;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xA;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xA;&#xA;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
            <requirements value="bdl-10 - A document must have a date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.timestamp"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </type>
            <condition value="bdl-10"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.init"/>
            </mapping>
            <mapping>
              <identity value="cda"/>
              <map value="ClinicalDocument.effectiveTime"/>
            </mapping>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <short value="Total matches across all pages"/>
            <definition value="If a set of search matches or a history, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle."/>
            <comment value="Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="bdl-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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link">
            <path value="Bundle.link"/>
            <short value="Links related to this Bundle"/>
            <definition value="A series of links that provide context to this bundle."/>
            <comment value="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xA;&#xA;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xA;&#xA;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-18"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.link.id">
            <path value="Bundle.link.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.extension">
            <path value="Bundle.link.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.link.modifierExtension">
            <path value="Bundle.link.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.link.relation">
            <path value="Bundle.link.relation"/>
            <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
            <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.relation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.link.url">
            <path value="Bundle.link.url"/>
            <short value="Reference details for the link"/>
            <definition value="The reference details for the link."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.link.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-18"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <short value="Entry in the bundle - will have a resource or information"/>
            <definition value="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <orderMeaning value="For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <condition value="bdl-2"/>
            <constraint>
              <key value="bdl-5"/>
              <severity value="error"/>
              <human value="must be a resource unless there's a request or response"/>
              <expression value="resource.exists() or request.exists() or response.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="bdl-8"/>
              <severity value="error"/>
              <human value="fullUrl cannot be a version specific reference"/>
              <expression value="fullUrl.exists() implies fullUrl.contains('/_history/').not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.id">
            <path value="Bundle.entry.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.extension">
            <path value="Bundle.entry.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.modifierExtension">
            <path value="Bundle.entry.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.link">
            <path value="Bundle.entry.link"/>
            <short value="Links related to this entry"/>
            <definition value="A series of links that provide context to this entry."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Bundle.entry.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <short value="URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)"/>
            <definition value="The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:&#xA;* the Bundle is a batch or transaction request or response AND&#xA;* the entry is&#xA;    * invoking a create&#xA;  * invoking or responding to an operation where the body is not a single identified resource&#xA;  * invoking or returning the results of a search or history operation."/>
            <comment value="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullUrl might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.&#xA;&#xA;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.fullUrl"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="bdl-7"/>
            <condition value="bdl-15"/>
            <condition value="bdl-8"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <short value="A resource in the bundle"/>
            <definition value="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning."/>
            <comment value="This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-7"/>
            <condition value="bdl-11"/>
            <condition value="bdl-12"/>
            <condition value="bdl-13"/>
            <condition value="bdl-5"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <short value="Search related information"/>
            <definition value="Information about the search process that lead to the creation of this entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.search"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-2"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.search.id">
            <path value="Bundle.entry.search.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.extension">
            <path value="Bundle.entry.search.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.search.modifierExtension">
            <path value="Bundle.entry.search.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.search.mode">
            <path value="Bundle.entry.search.mode"/>
            <short value="match | include - why this is in the result set"/>
            <definition value="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
            <comment value="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.mode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SearchEntryMode"/>
              </extension>
              <strength value="required"/>
              <description value="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.search.score">
            <path value="Bundle.entry.search.score"/>
            <short value="Search ranking (between 0 and 1)"/>
            <definition value="When searching, the server's search ranking score for the entry."/>
            <comment value="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xA;&#xA;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.search.score"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="decimal"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <short value="Additional execution information (transaction/batch/history)"/>
            <definition value="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.request"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.id">
            <path value="Bundle.entry.request.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.extension">
            <path value="Bundle.entry.request.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.request.modifierExtension">
            <path value="Bundle.entry.request.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.request.method">
            <path value="Bundle.entry.request.method"/>
            <short value="GET | HEAD | POST | PUT | DELETE | PATCH"/>
            <definition value="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.method"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="bdl-3b"/>
            <condition value="bdl-3c"/>
            <condition value="bdl-14"/>
            <condition value="bdl-15"/>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="HTTPVerb"/>
              </extension>
              <strength value="required"/>
              <description value="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"/>
            </binding>
          </element>
          <element id="Bundle.entry.request.url">
            <path value="Bundle.entry.request.url"/>
            <short value="URL for HTTP equivalent of this entry"/>
            <definition value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
            <comment value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneMatch">
            <path value="Bundle.entry.request.ifNoneMatch"/>
            <short value="For managing cache validation"/>
            <definition value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifModifiedSince">
            <path value="Bundle.entry.request.ifModifiedSince"/>
            <short value="For managing cache currency"/>
            <definition value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifModifiedSince"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifMatch">
            <path value="Bundle.entry.request.ifMatch"/>
            <short value="For managing update contention"/>
            <definition value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifMatch"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.request.ifNoneExist">
            <path value="Bundle.entry.request.ifNoneExist"/>
            <short value="For conditional creates"/>
            <definition value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.request.ifNoneExist"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <short value="Results of execution (transaction/batch/history)"/>
            <definition value="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.entry.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="bdl-3a"/>
            <condition value="bdl-3b"/>
            <condition value="bdl-3d"/>
            <condition value="bdl-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children or both"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.id">
            <path value="Bundle.entry.response.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="string"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.extension">
            <path value="Bundle.entry.response.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 managable, 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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Bundle.entry.response.modifierExtension">
            <path value="Bundle.entry.response.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 managable, 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.&#xA;&#xA;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](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>
            <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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <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="Bundle.entry.response.status">
            <path value="Bundle.entry.response.status"/>
            <short value="Status response code (text optional)"/>
            <definition value="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.location">
            <path value="Bundle.entry.response.location"/>
            <short value="The location (if the operation returns a location)"/>
            <definition value="The location header created by processing this operation, populated if the operation returns a location."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.etag">
            <path value="Bundle.entry.response.etag"/>
            <short value="The Etag for the resource (if relevant)"/>
            <definition value="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
            <comment value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/'1'"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.etag"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.lastModified">
            <path value="Bundle.entry.response.lastModified"/>
            <short value="Server's date time modified"/>
            <definition value="The date/time that the resource was modified on the server."/>
            <comment value="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.lastModified"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="instant"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.entry.response.outcome">
            <path value="Bundle.entry.response.outcome"/>
            <short value="OperationOutcome with hints and warnings (for batch/transaction)"/>
            <definition value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
            <comment value="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xA;&#xA;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.entry.response.outcome"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <path value="Bundle.signature"/>
            <short value="Digital Signature (deprecated: use Provenance Signatures)"/>
            <definition value="Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Bundle.signature"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Signature"/>
            </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() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <short value="OperationOutcome with issues about the Bundle"/>
            <definition value="An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it."/>
            <comment value="Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Bundle.issues"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Resource"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <condition value="bdl-16"/>
            <condition value="bdl-17"/>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
        </snapshot>
        <differential>
          <element id="Bundle">
            <path value="Bundle"/>
            <short value="Represents a FHIR document"/>
            <definition value="A container the resources of a FHIR document."/>
          </element>
          <element id="Bundle.identifier">
            <path value="Bundle.identifier"/>
            <requirements value="bdl-9 - A document must have an identifier with a system and a value"/>
            <min value="1"/>
          </element>
          <element id="Bundle.identifier.system">
            <path value="Bundle.identifier.system"/>
            <min value="1"/>
          </element>
          <element id="Bundle.identifier.value">
            <path value="Bundle.identifier.value"/>
            <min value="1"/>
          </element>
          <element id="Bundle.type">
            <path value="Bundle.type"/>
            <requirements value="Set type to document."/>
            <fixedCode value="document"/>
          </element>
          <element id="Bundle.timestamp">
            <path value="Bundle.timestamp"/>
            <requirements value="bdl-10 - A document must have a date"/>
            <min value="1"/>
          </element>
          <element id="Bundle.total">
            <path value="Bundle.total"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry">
            <path value="Bundle.entry"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry.fullUrl">
            <path value="Bundle.entry.fullUrl"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry.resource">
            <path value="Bundle.entry.resource"/>
            <min value="1"/>
          </element>
          <element id="Bundle.entry.search">
            <path value="Bundle.entry.search"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.request">
            <path value="Bundle.entry.request"/>
            <max value="0"/>
          </element>
          <element id="Bundle.entry.response">
            <path value="Bundle.entry.response"/>
            <max value="0"/>
          </element>
          <element id="Bundle.issues">
            <path value="Bundle.issues"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
</Bundle>